summaryrefslogtreecommitdiff
path: root/ext/bg/js/search-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/search-main.js')
-rw-r--r--ext/bg/js/search-main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/search-main.js b/ext/bg/js/search-main.js
index bbe6c343..cf9282fd 100644
--- a/ext/bg/js/search-main.js
+++ b/ext/bg/js/search-main.js
@@ -23,10 +23,12 @@
(async () => {
try {
api.forwardLogsToBackend();
- await yomichan.ready();
+ await yomichan.backendReady();
const displaySearch = new DisplaySearch();
await displaySearch.prepare();
+
+ yomichan.ready();
} catch (e) {
yomichan.logError(e);
}