summaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend-initialize.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-03-02 12:01:53 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-03-02 12:01:53 +0200
commita05a05c4f49d97f44dc3e1599906047c4a346512 (patch)
tree8598fe1a26ff536b74fe88ec3706bd93df2de1cd /ext/fg/js/frontend-initialize.js
parent56b2f2c853494b228aa4467a64ed91486432bffd (diff)
fix content script entry point Yomichan prepare
Covers Popup stuff in addition to Frontend
Diffstat (limited to 'ext/fg/js/frontend-initialize.js')
-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;