summaryrefslogtreecommitdiff
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:09:51 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-16 19:54:41 -0500
commit4ba93b07706745ea4d3ba21598e686275b8fa5f1 (patch)
treeae4cb58e81c61d6203dc7ac65374cfd0c60978ac /ext/fg/js/popup-proxy-host.js
parent37da5fef59fcf0b0391e8e0cc12c5d29674e7b47 (diff)
Add getContainerRect to popup
Diffstat (limited to 'ext/fg/js/popup-proxy-host.js')
-rw-r--r--ext/fg/js/popup-proxy-host.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/popup-proxy-host.js b/ext/fg/js/popup-proxy-host.js
index bf6604e5..697c8077 100644
--- a/ext/fg/js/popup-proxy-host.js
+++ b/ext/fg/js/popup-proxy-host.js
@@ -129,7 +129,7 @@ class PopupProxyHost {
let x = jsonRect.x;
let y = jsonRect.y;
if (popup.parent !== null) {
- const popupRect = popup.parent.container.getBoundingClientRect();
+ const popupRect = popup.parent.getContainerRect();
x += popupRect.x;
y += popupRect.y;
}