mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
fix(key) setCurrentByLetter i: 2 -> 0
This commit is contained in:
parent
8a08fef833
commit
f439393370
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ var CloudCmd, Util, DOM;
|
|||
char = String.fromCharCode(pKeyCode + SMALL);
|
||||
|
||||
n = files.length;
|
||||
for (i = 2; i < n; i++) {
|
||||
for (i = 0; i < n; i++) {
|
||||
lCurrent = files[i];
|
||||
name = DOM.getCurrentName(lCurrent);
|
||||
isContain = Util.isContainStrAtBegin(name, char);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue