mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(dom) getCurrentByPosition: current not LI
This commit is contained in:
parent
b210a784e1
commit
c2f087a93d
1 changed files with 3 additions and 0 deletions
|
|
@ -1013,6 +1013,9 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
}
|
||||
}
|
||||
|
||||
if (element && element.tagName !== 'LI')
|
||||
element = null;
|
||||
|
||||
return element;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue