diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-15 21:25:06 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-16 19:54:41 -0500 |
commit | 41fadfd0a9efd414bc41fab95b72deffac0d77fc (patch) | |
tree | c5979988a1663d16fd02676af7289da270b20caa | |
parent | 7140a1910087424ba8d9a05c4bb59e478881f0dc (diff) |
Add setChildrenSupported to popup
-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; } |