Skip to content

Commit b1fff48

Browse files
committed
Merge branch 'beta-branch'
2 parents e2bcf20 + ebac526 commit b1fff48

20 files changed

+36
-28
lines changed

moz.xpi

-38.4 KB
Binary file not shown.

moz.zip

16 Bytes
Binary file not shown.

moz/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"homepage_url": "https://webtoplex.github.io/",
55

66
"manifest_version": 2,
7-
"version": "4.1.2.0",
7+
"version": "4.1.2.1",
88
"browser_specific_settings": {
99
"gecko": {
1010

moz/options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ <h2>Connection Settings</h2>
531531
<label>Sick Beard API Key</label>
532532
<input type="text" data-option="sickBeardToken" placeholder="What's your Sick Beard API key?" default/>
533533
<div>
534-
1. Go to Sick <strong>Beard</strong> &rarr; <strong>Config</strong> &rarr; <strong>General</strong> &rarr; <strong>API</strong><br/>
534+
1. Go to <strong>Sick Beard</strong> &rarr; <strong>Config</strong> &rarr; <strong>General</strong> &rarr; <strong>API</strong><br/>
535535
&mdash; a. Ensure the checkbox <u>Enable API</u> is checked<br/>
536536
&mdash; b. Press the <u>Generate</u> button<br/>
537537
2. Copy/Paste the <u>API Key</u><br/>

moz/options.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -632,21 +632,23 @@ function getOptionValues() {
632632
});
633633

634634
let COM = options.UseLZW,
635-
DEF = options.__defaults == 'true';
635+
DEF = options.__defaults == 'true',
636+
CHT = $('[data-option="__caught"i]'),
637+
THM = $('[data-option="__theme"i]');
636638

637639
for(let key in __caught)
638640
__caught[key] = __caught[key].filter(id => id).slice(0, (COM? 200: 100)).sort();
639641

640-
// if(options.__theme)
641-
// __theme = JSON.parse(options.__theme);
642+
if(THM.value)
643+
__theme = JSON.parse(THM.value);
642644
//
643645
// __theme = __theme.filter(v => v);
644646

645647
let _c = JSON.stringify(__caught),
646648
_t = JSON.stringify(__theme);
647649

648-
$('[data-option="__caught"i]').value = options.__caught = (COM? compress(zip(BWT(_c))): _c);
649-
$('[data-option="__theme"i]').value = options.__theme = (COM? compress(zip(BWT(_t))): _t);
650+
CHT.value = options.__caught = (COM? compress(zip(BWT(_c))): _c);
651+
THM.value = options.__theme = (COM? compress(zip(BWT(_t))): _t);
650652

651653
return options;
652654
}

opa.crx

8 Bytes
Binary file not shown.

opa.zip

9 Bytes
Binary file not shown.

opa/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"homepage_url": "https://webtoplex.github.io/",
55

66
"manifest_version": 2,
7-
"version": "4.1.2.0",
7+
"version": "4.1.2.1",
88

99
"icons": {
1010
"16": "16.png",

opa/options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ <h2>Connection Settings</h2>
531531
<label>Sick Beard API Key</label>
532532
<input type="text" data-option="sickBeardToken" placeholder="What's your Sick Beard API key?" default/>
533533
<div>
534-
1. Go to Sick <strong>Beard</strong> &rarr; <strong>Config</strong> &rarr; <strong>General</strong> &rarr; <strong>API</strong><br/>
534+
1. Go to <strong>Sick Beard</strong> &rarr; <strong>Config</strong> &rarr; <strong>General</strong> &rarr; <strong>API</strong><br/>
535535
&mdash; a. Ensure the checkbox <u>Enable API</u> is checked<br/>
536536
&mdash; b. Press the <u>Generate</u> button<br/>
537537
2. Copy/Paste the <u>API Key</u><br/>

opa/options.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -637,21 +637,23 @@ function getOptionValues() {
637637
});
638638

639639
let COM = options.UseLZW,
640-
DEF = options.__defaults == 'true';
640+
DEF = options.__defaults == 'true',
641+
CHT = $('[data-option="__caught"i]'),
642+
THM = $('[data-option="__theme"i]');
641643

642644
for(let key in __caught)
643645
__caught[key] = __caught[key].filter(id => id).slice(0, (COM? 200: 100)).sort();
644646

645-
// if(options.__theme)
646-
// __theme = JSON.parse(options.__theme);
647+
if(THM.value)
648+
__theme = JSON.parse(THM.value);
647649
//
648650
// __theme = __theme.filter(v => v);
649651

650652
let _c = JSON.stringify(__caught),
651653
_t = JSON.stringify(__theme);
652654

653-
$('[data-option="__caught"i]').value = options.__caught = (COM? compress(zip(BWT(_c))): _c);
654-
$('[data-option="__theme"i]').value = options.__theme = (COM? compress(zip(BWT(_t))): _t);
655+
CHT.value = options.__caught = (COM? compress(zip(BWT(_c))): _c);
656+
THM.value = options.__theme = (COM? compress(zip(BWT(_t))): _t);
655657

656658
return options;
657659
}

0 commit comments

Comments
 (0)