mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
fix(listeners) resize: empty root
This commit is contained in:
parent
f6043b5477
commit
9e95d5fe97
1 changed files with 4 additions and 0 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue