summaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-09-13 13:38:37 -0700
committerAlex Yatskov <alex@foosoft.net>2016-09-13 13:38:37 -0700
commitcd4f16c096746d13502dc7b258dfe16c97344ba1 (patch)
tree0f601e128da4632440b9e2a568f9b1acbc759b0a /ext/bg/js/yomichan.js
parent540d0e239c9b7dc5bee8a3e53bcf6ec0767ee80b (diff)
Options cleanup
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 26b28138..10a42f47 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -33,7 +33,7 @@ class Yomichan {
chrome.tabs.onCreated.addListener(tab => this.onTabReady(tab.id));
chrome.tabs.onUpdated.addListener(this.onTabReady.bind(this));
- loadOptions(opts => {
+ loadOptions().then(opts => {
this.setOptions(opts);
if (this.options.activateOnStartup) {
this.setState('loading');