fix(listeners) resize: empty root

This commit is contained in:
coderaiser 2017-02-24 15:55:15 +02:00
parent f6043b5477
commit 9e95d5fe97

View file

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