aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/search-frontend.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-04-10 03:55:25 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2020-04-11 21:01:27 +0300
commit92109bb5d25db99033b0bb9f7f3806883f79218d (patch)
tree999207ff066194323781d9d7c8d6e5d8364fb4e0 /ext/bg/js/search-frontend.js
parent1df59d57b5dcbf9d3efedcb21a4d5e16524a67c1 (diff)
allow disabling scan on search page live
Diffstat (limited to 'ext/bg/js/search-frontend.js')
-rw-r--r--ext/bg/js/search-frontend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search-frontend.js b/ext/bg/js/search-frontend.js
index 18cb6060..e534e771 100644
--- a/ext/bg/js/search-frontend.js
+++ b/ext/bg/js/search-frontend.js
@@ -65,7 +65,7 @@ async function main() {
if (!options.scanning.enableOnSearchPage || optionsApplied) { return; }
optionsApplied = true;
- window.frontendInitializationData = {depth: 1, proxy: false};
+ window.frontendInitializationData = {depth: 1, proxy: false, isSearchPage: true};
injectSearchFrontend();
yomichan.off('optionsUpdated', applyOptions);