aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/_static/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_static/settings.js b/docs/_static/settings.js
index adea1747..9944b1bf 100644
--- a/docs/_static/settings.js
+++ b/docs/_static/settings.js
@@ -17,7 +17,7 @@ class Setting {
let value = JSON.parse(localStorage.getItem(this.name));
this.value = value === null ? this.defaultValue : value;
try {
- this.setValue(value);
+ this.setValue(this.value);
} catch (error) {
console.error(`Failed to apply setting "${this.name}" With value:`, this.value);
console.error(error);