From 7cc95d9dac7c101fe123b9ab62d5798e5fd86a18 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 29 Aug 2020 20:34:50 -0400 Subject: [PATCH] Use the constructed value in the settings --- docs/_static/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_static/settings.js b/docs/_static/settings.js index adea17473..9944b1bfa 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);