summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/search.js2
-rw-r--r--ext/bg/js/settings/popup-preview-frame.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index f5b4a671..af88bb76 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -333,7 +333,7 @@ class DisplaySearch extends Display {
await this.setupNestedPopups({
depth: 1,
useProxyPopup: false,
- isSearchPage: true
+ pageType: 'search'
});
} catch (e) {
yomichan.logError(e);
diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js
index eb174917..bce5919d 100644
--- a/ext/bg/js/settings/popup-preview-frame.js
+++ b/ext/bg/js/settings/popup-preview-frame.js
@@ -62,7 +62,7 @@ class PopupPreviewFrame {
parentPopupId: null,
parentFrameId: null,
useProxyPopup: false,
- isSearchPage: false,
+ pageType: 'web',
allowRootFramePopupProxy: false
});
this._frontendGetOptionsContextOld = this._frontend.getOptionsContext.bind(this._frontend);