diff options
Diffstat (limited to 'ext/bg/js/context-main.js')
-rw-r--r-- | ext/bg/js/context-main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/context-main.js b/ext/bg/js/context-main.js index 6d17dbf7..14013d3f 100644 --- a/ext/bg/js/context-main.js +++ b/ext/bg/js/context-main.js @@ -76,7 +76,7 @@ async function setupOptions() { (async () => { api.forwardLogsToBackend(); - await yomichan.ready(); + await yomichan.backendReady(); const manifest = chrome.runtime.getManifest(); @@ -87,4 +87,6 @@ async function setupOptions() { setupButtonEvents('.action-open-search', 'search', chrome.runtime.getURL('/bg/search.html')); setupButtonEvents('.action-open-options', 'options', chrome.runtime.getURL(manifest.options_ui.page)); setupButtonEvents('.action-open-help', 'help', 'https://foosoft.net/projects/yomichan/'); + + yomichan.ready(); })(); |