aboutsummaryrefslogtreecommitdiff
path: root/docs/_static
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-08-29 20:34:50 -0400
committerRapptz <[email protected]>2020-12-18 21:18:57 -0500
commit7cc95d9dac7c101fe123b9ab62d5798e5fd86a18 (patch)
tree7c0d07c65fc6561981716f864c2d52876487bb0c /docs/_static
parent[matrix] Update model styles (diff)
downloaddiscord.py-7cc95d9dac7c101fe123b9ab62d5798e5fd86a18.tar.xz
discord.py-7cc95d9dac7c101fe123b9ab62d5798e5fd86a18.zip
Use the constructed value in the settings
Diffstat (limited to 'docs/_static')
-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);