summaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-proxy-host.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/popup-proxy-host.js')
-rw-r--r--ext/fg/js/popup-proxy-host.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fg/js/popup-proxy-host.js b/ext/fg/js/popup-proxy-host.js
index 157097de..cb385cc2 100644
--- a/ext/fg/js/popup-proxy-host.js
+++ b/ext/fg/js/popup-proxy-host.js
@@ -114,8 +114,7 @@ class PopupProxyHost {
++this._nextId;
const popup = new Popup(id, depth, this._frameIdPromise);
if (parent !== null) {
- popup.parent = parent;
- parent.child = popup;
+ popup.setParent(parent);
}
this._popups.set(id, popup);
return {popup, id};