summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-03-04 05:30:48 +0200
committerGitHub <noreply@github.com>2020-03-04 05:30:48 +0200
commit6e47b4e241594d68384f62b1faa34c86f85addbf (patch)
treed70452c259d1aeff36c7a9485cca137b64c58405 /ext/fg
parent46fee07d36b3966af9bacca8c6253b044bde07ee (diff)
parentde8d9e6bf12f693d6579a2fb965fd7597a04288c (diff)
Merge pull request #386 from siikamiika/simplify-backend-prepare
Simplify backend prepare
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/frontend-initialize.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/fg/js/frontend-initialize.js b/ext/fg/js/frontend-initialize.js
index 54b874f2..bbb789cc 100644
--- a/ext/fg/js/frontend-initialize.js
+++ b/ext/fg/js/frontend-initialize.js
@@ -19,6 +19,8 @@
/*global PopupProxyHost, PopupProxy, Frontend*/
async function main() {
+ await yomichan.prepare();
+
const data = window.frontendInitializationData || {};
const {id, depth=0, parentFrameId, ignoreNodes, url, proxy=false} = data;