Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0752394d69 |
@@ -29,22 +29,27 @@ function handleSettingsChange (event) {
|
||||
if (getSetting("sync-scheme") !== form.get("sync-scheme")) {
|
||||
saveBtn.classList.remove("disabled");
|
||||
saveBtn.classList.add("enabled");
|
||||
console.log("here1")
|
||||
}
|
||||
else if (getSetting("sync-rate") !== form.get("sync-rate")) {
|
||||
else if (getSetting("sync-rate") !== Number(form.get("sync-rate"))) {
|
||||
saveBtn.classList.remove("disabled");
|
||||
saveBtn.classList.add("enabled");
|
||||
console.log("here2")
|
||||
}
|
||||
else if (getSetting("search-criteria") !== form.get("search-criteria")) {
|
||||
saveBtn.classList.remove("disabled");
|
||||
saveBtn.classList.add("enabled");
|
||||
console.log("here3")
|
||||
}
|
||||
else if (getSetting("appearance-theme") !== form.get("appearance-theme")) {
|
||||
saveBtn.classList.remove("disabled");
|
||||
saveBtn.classList.add("enabled");
|
||||
console.log("here4")
|
||||
}
|
||||
else {
|
||||
saveBtn.classList.remove("enabled");
|
||||
saveBtn.classList.add("disabled");
|
||||
console.log("here5")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user