diff options
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'); } |