From 529b9bb482491512104b812fc5e09243a4f292ea Mon Sep 17 00:00:00 2001 From: Kendall Werts Date: Tue, 27 Aug 2019 12:22:25 -0500 Subject: [PATCH] forgot a semicolon --- src/js/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/popup.js b/src/js/popup.js index 2f1dd8c..54c2c02 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -292,7 +292,7 @@ const Logic = { document.querySelector(this.getPanelSelector(this._panels[panel])).classList.remove("hide"); window.setTimeout(function () { //sometimes this executes before the window is there and window.innerWidth returns undefined - const difference = window.innerWidth - document.body.offsetWidth + const difference = window.innerWidth - document.body.offsetWidth; if (difference > 2) { //if popup is in the overflow menu, window will be larger than 300px const root = document.documentElement;