diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js index 05da4007..a66c1244 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/yomichan.js @@ -29,6 +29,10 @@ class Yomichan { chrome.runtime.onMessage.addListener(this.onMessage.bind(this)); chrome.browserAction.onClicked.addListener(this.onBrowserAction.bind(this)); + + if (this.options.loadOnStartup) { + this.updateState('loading'); + } }); }