mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(key) current -> current && current.parent;
This commit is contained in:
parent
b3b0e1da1a
commit
f41b3f021d
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ var CloudCmd, Util, DOM;
|
|||
lId = lPanel.id;
|
||||
|
||||
lCurrent = lTabPanel[lId];
|
||||
if (lCurrent)
|
||||
if (lCurrent && lCurrent.parentElement)
|
||||
DOM.setCurrentFile(lCurrent);
|
||||
else {
|
||||
lFirstFileOnList = DOM.getByTag('li', lPanel)[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue