diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-15 11:15:24 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-15 11:15:24 -0800 |
commit | c512412c057573a9cf07efd6b1040c5017300406 (patch) | |
tree | 09b8a3134f500c204f642c3bdb22766c1a6fa7f6 /ext/bg/js/yomichan.js | |
parent | 6ad860bd728d8cca8f30ef83c34bdba8801f0238 (diff) |
fix options page
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r-- | ext/bg/js/yomichan.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js index 01460289..67b1606c 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/yomichan.js @@ -32,8 +32,8 @@ class Yomichan { chrome.browserAction.onClicked.addListener(this.onBrowserAction.bind(this)); chrome.runtime.onInstalled.addListener(this.onInstalled.bind(this)); - optionsLoad().then(opts => { - this.setOptions(opts); + optionsLoad().then(options => { + this.setOptions(options); if (this.options.general.autoStart) { this.setState('loading'); } |