diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-09-11 12:40:45 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-09-11 12:40:45 -0700 |
commit | 8eb43c93d920fb6d940cba2c1f46a9876d9087e9 (patch) | |
tree | 3a34db3a42c232568d77983eb164e42bd86fa8f5 /ext/bg/js/yomichan.js | |
parent | d5ea03171ea997d6734e6d31197c7f233fff7084 (diff) |
Cleanup
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r-- | ext/bg/js/yomichan.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js index 11f348bf..d9d4234d 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/yomichan.js @@ -101,7 +101,7 @@ class Yomichan { break; case 'loading': chrome.browserAction.setBadgeText({text: '...'}); - this.translator.loadData({loadEnamDict: this.options.loadEnamDict}, () => this.setState('enabled')); + this.translator.loadData().then(() => this.setState('enabled')); break; } |