fix small issues

This commit is contained in:
wukko
2022-09-01 19:51:18 +06:00
parent e61122d5b0
commit f70128f4fc
11 changed files with 40 additions and 49 deletions

View File

@@ -185,15 +185,6 @@ function loadSettings() {
changeSwitcher(i, sGet(i))
}
}
function checkbox(action) {
if (eid(action).checked) {
sSet(action, "true");
if (action == "alwaysVisibleButton") button();
} else {
sSet(action, "false");
if (action == "alwaysVisibleButton") button();
}
}
function toggle(toggle) {
let state = sGet(toggle);
if (state) {