mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(client) currentToParent: rm scrollIntoViewIfNeeded
This commit is contained in:
parent
57f5567709
commit
d79129c856
1 changed files with 1 additions and 3 deletions
|
|
@ -77,10 +77,8 @@ var Util, DOM, CloudFunc;
|
|||
dirName = Util.removeStr(dirName, '/');
|
||||
rootDir = DOM.getCurrentFileByName(dirName);
|
||||
|
||||
if (rootDir) {
|
||||
if (rootDir)
|
||||
DOM.setCurrentFile(rootDir);
|
||||
DOM.scrollIntoViewIfNeeded(rootDir, true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue