From 41fadfd0a9efd414bc41fab95b72deffac0d77fc Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 15 Dec 2019 21:25:06 -0500 Subject: Add setChildrenSupported to popup --- ext/bg/js/settings/popup-preview-frame.js | 2 +- ext/fg/js/popup.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'ext') 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; } -- cgit v1.2.3