fix(listeners) onDblClick: add "/"

This commit is contained in:
coderaiser 2015-07-21 11:46:00 -04:00
parent 799029a2bc
commit cb7212e7d2

View file

@ -169,7 +169,7 @@ var Util, DOM, CloudFunc, CloudCmd;
if (isDir) {
CloudCmd.loadDir({
path: path + '/'
path: path === '/' ? '/' : path + '/'
});
event.preventDefault();