diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/settings/popup-preview-frame.js | 2 | ||||
-rw-r--r-- | ext/fg/js/popup.js | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js index a26d3148..b2902af0 100644 --- a/ext/bg/js/settings/popup-preview-frame.js +++ b/ext/bg/js/settings/popup-preview-frame.js @@ -53,7 +53,7 @@ class SettingsPopupPreview { this.frontend.setEnabled = function () {}; this.frontend.searchClear = function () {}; - this.frontend.popup.childrenSupported = false; + this.frontend.popup.setChildrenSupported(false); await this.frontend.isPrepared(); diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js index 2af734a9..552bdcf6 100644 --- a/ext/fg/js/popup.js +++ b/ext/fg/js/popup.js @@ -135,6 +135,10 @@ class Popup { } } + setChildrenSupported(value) { + this.childrenSupported = value; + } + getContainer() { return this.container; } |