diff --git a/lib/client/key.js b/lib/client/key.js index ea8fa9d9..8303821f 100644 --- a/lib/client/key.js +++ b/lib/client/key.js @@ -110,8 +110,8 @@ var CloudCmd, Util, DOM; lCurrent = DOM.getCurrentFile(), files = DOM.getFiles(), SMALL = 32, - charBig = String.fromCharCode(pKeyCode), - char = String.fromCharCode(pKeyCode + SMALL); + char = String.fromCharCode(pKeyCode), + charSmall = String.fromCharCode(pKeyCode + SMALL); n = Chars.length; for (i = 0; i < n; i++) @@ -128,7 +128,7 @@ var CloudCmd, Util, DOM; for (i = 0; i < n; i++) { lCurrent = files[i]; name = DOM.getCurrentName(lCurrent); - isContain = Util.isContainStrAtBegin(name, [char, charBig]); + isContain = Util.isContainStrAtBegin(name, [char, charSmall]); if (isContain) { byName = DOM.getCurrentFileByName(name);