aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/context-main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-06-28 11:26:43 -0400
committerGitHub <noreply@github.com>2020-06-28 11:26:43 -0400
commit5bf805755a33f6f10fd9621f8a2bff7ba1cb7440 (patch)
tree836df16ec300e46af16c178f0aebca20802bde7c /ext/bg/js/context-main.js
parent51981f0c4e11548e138f8b4e57ffd8b96bdee4fe (diff)
Yomichan object separation (#627)
* Move "yomichan" object setup to a separate file * Update script imports * Align message handlers * Rename Yomichan.prepare to Yomichan.ready * Add new prepare function * Improve isExtensionUrl
Diffstat (limited to 'ext/bg/js/context-main.js')
-rw-r--r--ext/bg/js/context-main.js2
1 files changed, 1 insertions, 1 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();