mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(key) do not set current ".." when dot pressed
This commit is contained in:
parent
ae8e5379e6
commit
cd06779bc9
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ var CloudCmd, Util, DOM;
|
|||
name = DOM.getCurrentName(current);
|
||||
isMatch = name.match(regExp);
|
||||
|
||||
if (isMatch) {
|
||||
if (isMatch && name !== '..') {
|
||||
byName = DOM.getCurrentByName(name);
|
||||
|
||||
if (!skipCount) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue