aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 17:27:55 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 18:59:08 -0500
commitdcd243c9e9f3af3fedb0bb0db9795f377f175587 (patch)
treeedfa53153d16415ee3d61b90b83b9287b42f1b36 /ext/bg
parent5d3c13ee98c49de8b3bd57892d93bd4eca2cf7ee (diff)
Update how popups are created
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/settings/popup-preview-frame.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js
index 042f335f..8fd06222 100644
--- a/ext/bg/js/settings/popup-preview-frame.js
+++ b/ext/bg/js/settings/popup-preview-frame.js
@@ -50,7 +50,7 @@ class SettingsPopupPreview {
const popupHost = new PopupProxyHost();
await popupHost.prepare();
- const popup = popupHost.createPopup(null, 0);
+ const popup = popupHost.getOrCreatePopup();
popup.setChildrenSupported(false);
this.frontend = new Frontend(popup);