aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-proxy-host.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-15 21:40:06 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-16 19:54:41 -0500
commit7c68490d2ea7f106ab79e5bc7ff00b92c95614ff (patch)
treee5528893aaf128294b6a6b267740755ec751b241 /ext/fg/js/popup-proxy-host.js
parent30e13354b3b58a7d7cfce26487076eaaa7552416 (diff)
Add setParent to popup
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};