mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(dom) updateCurrentInfo: current
This commit is contained in:
parent
a3f64221df
commit
c4b279c9be
1 changed files with 2 additions and 2 deletions
|
|
@ -483,7 +483,7 @@ function CmdProto() {
|
|||
/* scrolling to current file */
|
||||
DOM.scrollIntoViewIfNeeded(currentFile, CENTER);
|
||||
|
||||
Cmd.updateCurrentInfo();
|
||||
Cmd.updateCurrentInfo(currentFile);
|
||||
|
||||
return DOM;
|
||||
};
|
||||
|
|
@ -1031,7 +1031,7 @@ function CmdProto() {
|
|||
return;
|
||||
|
||||
DOM.setCurrentName(to, current);
|
||||
Cmd.updateCurrentInfo();
|
||||
Cmd.updateCurrentInfo(current);
|
||||
Storage.remove(dirPath);
|
||||
|
||||
if (isExist)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue