aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-26 18:47:58 -0400
committerGitHub <noreply@github.com>2020-09-26 18:47:58 -0400
commit9c7b9d666087add0f72900c045ee43ed05c5b467 (patch)
tree25094cf37cdb542f96736d2286bb5a7761a15467 /ext/mixed/js/display.js
parentc1b59763941a74367b81e9b8329319f1ede72317 (diff)
Fix page type never being detected as search page correctly (#867)
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 377a491d..e5f12a1a 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -361,7 +361,7 @@ class Display extends EventDispatcher {
}
}
- async setupNestedPopups({depth, parentPopupId, parentFrameId, useProxyPopup}) {
+ async setupNestedPopups({depth, parentPopupId, parentFrameId, useProxyPopup, pageType}) {
await dynamicLoader.loadScripts([
'/mixed/js/text-scanner.js',
'/mixed/js/frame-client.js',
@@ -385,7 +385,7 @@ class Display extends EventDispatcher {
parentPopupId,
parentFrameId,
useProxyPopup,
- isSearchPage: false,
+ pageType,
allowRootFramePopupProxy: true
});
await frontend.prepare();