From 06788687c3312ad7ef797bc4f79ba4ca3fd5f01f Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 23 Jul 2015 05:38:34 -0400 Subject: [PATCH] fix(key) double slash in path --- lib/client/key.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/key.js b/lib/client/key.js index 7d9df6ef..2ebcd672 100644 --- a/lib/client/key.js +++ b/lib/client/key.js @@ -451,7 +451,7 @@ var CloudCmd, Util, DOM; case Key.ENTER: if (Info.isDir) CloudCmd.loadDir({ - path: DOM.getCurrentPath() + '/' + path: path === '/' ? '/' : path + '/' }); break;