mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
fix(key) double slash in path
This commit is contained in:
parent
c9b692382f
commit
06788687c3
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ var CloudCmd, Util, DOM;
|
|||
case Key.ENTER:
|
||||
if (Info.isDir)
|
||||
CloudCmd.loadDir({
|
||||
path: DOM.getCurrentPath() + '/'
|
||||
path: path === '/' ? '/' : path + '/'
|
||||
});
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue