fixed a typo introduced in #1200

This commit is contained in:
Miodec 2021-04-10 23:56:55 +01:00
parent 2206c12dbf
commit d1fdf3b2de

View file

@ -56,7 +56,7 @@ export default class SettingsGroup {
"active"
);
if (this.onOff) {
const onOffString = this.configvalue ? "on" : "off";
const onOffString = this.configValue ? "on" : "off";
$(
`.pageSettings .section.${this.configName} .buttons .button.${onOffString}`
).addClass("active");