diff --git a/client/listeners.js b/client/listeners.js index 4ef2a5b8..79059365 100644 --- a/client/listeners.js +++ b/client/listeners.js @@ -468,6 +468,10 @@ function resize() { return; const {panel} = Info; + const isEmptyRoot = !panel; + + if (isEmptyRoot) + return; const name = panel.getAttribute('data-name'); const isLeft = name === 'js-left';