aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/search-frontend.js
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/bg/js/search-frontend.js
parent46fee07d36b3966af9bacca8c6253b044bde07ee (diff)
parentde8d9e6bf12f693d6579a2fb965fd7597a04288c (diff)
Merge pull request #386 from siikamiika/simplify-backend-prepare
Simplify backend prepare
Diffstat (limited to 'ext/bg/js/search-frontend.js')
-rw-r--r--ext/bg/js/search-frontend.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/search-frontend.js b/ext/bg/js/search-frontend.js
index 509c4009..453a0b79 100644
--- a/ext/bg/js/search-frontend.js
+++ b/ext/bg/js/search-frontend.js
@@ -19,6 +19,8 @@
/*global apiOptionsGet*/
async function searchFrontendSetup() {
+ await yomichan.prepare();
+
const optionsContext = {
depth: 0,
url: window.location.href