summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/context-main.js2
-rw-r--r--ext/bg/js/search-main.js2
-rw-r--r--ext/bg/js/settings/main.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/context-main.js b/ext/bg/js/context-main.js
index 4a2ea168..8718f583 100644
--- a/ext/bg/js/context-main.js
+++ b/ext/bg/js/context-main.js
@@ -51,7 +51,7 @@ function setupButtonEvents(selector, command, url) {
async function mainInner() {
api.forwardLogsToBackend();
- await yomichan.prepare();
+ await yomichan.ready();
await api.logIndicatorClear();
diff --git a/ext/bg/js/search-main.js b/ext/bg/js/search-main.js
index 13bd8767..bbe6c343 100644
--- a/ext/bg/js/search-main.js
+++ b/ext/bg/js/search-main.js
@@ -23,7 +23,7 @@
(async () => {
try {
api.forwardLogsToBackend();
- await yomichan.prepare();
+ await yomichan.ready();
const displaySearch = new DisplaySearch();
await displaySearch.prepare();
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js
index e22c5e53..48b72735 100644
--- a/ext/bg/js/settings/main.js
+++ b/ext/bg/js/settings/main.js
@@ -64,7 +64,7 @@ async function setupEnvironmentInfo() {
(async () => {
api.forwardLogsToBackend();
- await yomichan.prepare();
+ await yomichan.ready();
setupEnvironmentInfo();
showExtensionInformation();