Allow existing settings to be bulk reset (#394)

* Allow existing settings to be bulk reset

* The box should also be checked

... so it can be unchecked

* Only check for checked once
This commit is contained in:
TwistedUmbrellaX 2024-11-24 11:29:20 -05:00 committed by GitHub
parent 4293f17dd4
commit 9fce12bdbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1450,6 +1450,10 @@
persistSkipChanged();
generateAutoSkipTypeList();
generateAutoSkipClientList();
const pluginSkip = document.getElementById("PluginSkip");
pluginSkip.checked = pluginSkip.checked
|| document.getElementById("AutoSkip").checked
|| document.getElementById("SkipButtonEnabled").checked
pluginSkipSettingChanged();
Dashboard.hideLoadingMsg();