This commit is contained in:
Araxeus
2021-04-06 01:51:11 +03:00
committed by GitHub
parent 0e9b15722a
commit 17fd499420

View File

@ -338,10 +338,10 @@ function setProxy(item, win) {
.then((input) => {
if (input !== null && input !== example) {
config.set("options.proxy", input);
item.checked = (input === "") ? false : true;
item.checked = input !== "";
} else { //user pressed cancel
item.checked = !item.checked; //reset checkbox
}
})
.catch(console.error);
}
}