refactor(dom) updateCurrentInfo: current

This commit is contained in:
coderaiser 2017-07-31 14:39:38 +03:00
parent a3f64221df
commit c4b279c9be

View file

@ -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)