forgot a semicolon

This commit is contained in:
Kendall Werts 2019-08-27 12:22:25 -05:00
parent 96b7a78161
commit aec6a682ab

View file

@ -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;