parse json in settings
This commit is contained in:
parent
355c0c6457
commit
c913dcdec7
7 changed files with 24 additions and 28 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue