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.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js
index 0f6af1a5..46a09548 100644
--- a/ext/fg/js/popup.js
+++ b/ext/fg/js/popup.js
@@ -135,6 +135,10 @@ class Popup {
}
}
+ getContainerRect() {
+ return this.container.getBoundingClientRect();
+ }
+
static injectOuterStylesheet(css) {
if (Popup.outerStylesheet === null) {
if (!css) { return; }