aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/mixed/js/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/core.js b/ext/mixed/js/core.js
index b7ac8743..0e22b9ac 100644
--- a/ext/mixed/js/core.js
+++ b/ext/mixed/js/core.js
@@ -280,12 +280,12 @@ const yomichan = (() => {
]);
chrome.runtime.onMessage.addListener(this._onMessage.bind(this));
- chrome.runtime.sendMessage({action: 'yomichanCoreReady'});
}
// Public
prepare() {
+ chrome.runtime.sendMessage({action: 'yomichanCoreReady'});
return this._isBackendPreparedPromise;
}