Browse Source

Use the constructed value in the settings

pull/6176/head
Rapptz 5 years ago
parent
commit
7cc95d9dac
  1. 2
      docs/_static/settings.js

2
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);

Loading…
Cancel
Save