mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 12:21:47 +00:00
fix typo
This commit is contained in:
2
menu.js
2
menu.js
@ -338,7 +338,7 @@ function setProxy(item, win) {
|
|||||||
.then((input) => {
|
.then((input) => {
|
||||||
if (input !== null && input !== example) {
|
if (input !== null && input !== example) {
|
||||||
config.set("options.proxy", input);
|
config.set("options.proxy", input);
|
||||||
item.checked = (input === "") ? false : true;
|
item.checked = input !== "";
|
||||||
} else { //user pressed cancel
|
} else { //user pressed cancel
|
||||||
item.checked = !item.checked; //reset checkbox
|
item.checked = !item.checked; //reset checkbox
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user