forgot a semicolon
This commit is contained in:
parent
3adb333022
commit
529b9bb482
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue