summaryrefslogtreecommitdiff
path: root/ext/js/display
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display')
-rw-r--r--ext/js/display/popup-main.js4
-rw-r--r--ext/js/display/search-main.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/js/display/popup-main.js b/ext/js/display/popup-main.js
index 7c048b62..f1228aa6 100644
--- a/ext/js/display/popup-main.js
+++ b/ext/js/display/popup-main.js
@@ -29,8 +29,8 @@
const documentFocusController = new DocumentFocusController();
documentFocusController.prepare();
- api.forwardLogsToBackend();
- await yomichan.backendReady();
+ api.prepare();
+ await yomichan.prepare();
const {tabId, frameId} = await api.frameInformationGet();
diff --git a/ext/js/display/search-main.js b/ext/js/display/search-main.js
index c7ec595a..d3e8af0b 100644
--- a/ext/js/display/search-main.js
+++ b/ext/js/display/search-main.js
@@ -30,8 +30,8 @@
const documentFocusController = new DocumentFocusController();
documentFocusController.prepare();
- api.forwardLogsToBackend();
- await yomichan.backendReady();
+ api.prepare();
+ await yomichan.prepare();
const {tabId, frameId} = await api.frameInformationGet();