aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-09 15:30:05 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-09 15:30:05 +0900
commitc913dcdec775094daa9a64fa40034b3122320660 (patch)
tree978f2ad2581bc069e9369b28fe743b91c09f18a3 /src/settings/components
parent355c0c64575adad4886647a1df3da173598b558b (diff)
parse json in settings
Diffstat (limited to 'src/settings/components')
-rw-r--r--src/settings/components/setting.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings/components/setting.js b/src/settings/components/setting.js
index 14482a3..cf1538f 100644
--- a/src/settings/components/setting.js
+++ b/src/settings/components/setting.js
@@ -35,11 +35,12 @@ export default class SettingComponent {
}
update() {
- let { settings } = this.store.getState();
+ let settings = this.store.getState();
let doc = this.wrapper.ownerDocument;
let form = doc.getElementById('vimvixen-settings-form');
let plainJsonInput = form.elements['plain-json'];
plainJsonInput.value = settings.json;
+
}
}