aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/popup.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-23 21:24:45 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-23 21:24:45 -0700
commit659bb87a59c2f53e8144998fe1d3067526a83897 (patch)
treef7f449c4cd26be0cab8317741379076faeea68be /ext/fg/js/popup.js
parentc8d0ef50046dde2e3214a242674dff3c6dbf2a45 (diff)
Mostly working
Diffstat (limited to 'ext/fg/js/popup.js')
-rw-r--r--ext/fg/js/popup.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js
index 694aa6b7..4c5a01d8 100644
--- a/ext/fg/js/popup.js
+++ b/ext/fg/js/popup.js
@@ -49,8 +49,8 @@ class Popup {
posY = elementRect.top - popupRect.height - this.offset;
}
- this.popup.style.left = pos.x + 'px';
- this.popup.style.top = pos.y + 'px';
+ this.popup.style.left = posX + 'px';
+ this.popup.style.top = posY + 'px';
this.popup.style.visibility = 'visible';
this.setContent(content);