summaryrefslogtreecommitdiff
path: root/ext/fg/js/popup.js
diff options
context:
space:
mode:
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';
}