diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-04-23 21:24:45 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-04-23 21:24:45 -0700 |
commit | 659bb87a59c2f53e8144998fe1d3067526a83897 (patch) | |
tree | f7f449c4cd26be0cab8317741379076faeea68be /ext/fg/js/popup.js | |
parent | c8d0ef50046dde2e3214a242674dff3c6dbf2a45 (diff) |
Mostly working
Diffstat (limited to 'ext/fg/js/popup.js')
-rw-r--r-- | ext/fg/js/popup.js | 4 |
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); |