diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-26 18:47:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 18:47:58 -0400 |
commit | 9c7b9d666087add0f72900c045ee43ed05c5b467 (patch) | |
tree | 25094cf37cdb542f96736d2286bb5a7761a15467 /ext/mixed/js | |
parent | c1b59763941a74367b81e9b8329319f1ede72317 (diff) |
Fix page type never being detected as search page correctly (#867)
Diffstat (limited to 'ext/mixed/js')
-rw-r--r-- | ext/mixed/js/display.js | 4 |
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(); |