summaryrefslogtreecommitdiff
path: root/ext/fg/js/popup.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-02-28 20:23:29 -0800
committerAlex Yatskov <alex@foosoft.net>2017-02-28 20:23:29 -0800
commite326b02898d348ae320a7c4d1737ead99805489c (patch)
tree3722c8ab3983d7670146880a3c5c6fb8ea862881 /ext/fg/js/popup.js
parent5b66afde74422c1beac8cf3e25b5aa879c976555 (diff)
fix various issues related to scanning form fields1.0.17
Diffstat (limited to 'ext/fg/js/popup.js')
-rw-r--r--ext/fg/js/popup.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js
index 751c6acc..a9e27f49 100644
--- a/ext/fg/js/popup.js
+++ b/ext/fg/js/popup.js
@@ -31,10 +31,10 @@ class Popup {
}
showAt(rect) {
- this.container.style.left = rect.x + 'px';
- this.container.style.top = rect.y + 'px';
- this.container.style.height = rect.height + 'px';
- this.container.style.width = rect.width + 'px';
+ this.container.style.left = `${rect.x}px`;
+ this.container.style.top = `${rect.y}px`;
+ this.container.style.height = `${rect.height}px`;
+ this.container.style.width = `${rect.width}px`;
this.container.style.visibility = 'visible';
}