mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(dom) deleteCurrent: multi var
This commit is contained in:
parent
2286436602
commit
32ef28f1e6
1 changed files with 3 additions and 3 deletions
|
|
@ -1346,13 +1346,13 @@ var CloudCmd, Util, DOM, CloudFunc;
|
|||
*
|
||||
*/
|
||||
this.deleteCurrent = function(current) {
|
||||
var name, next, prev, parent, currentNew;
|
||||
var next, prev, currentNew;
|
||||
|
||||
if (!current)
|
||||
Cmd.getCurrentFile();
|
||||
|
||||
parent = current && current.parentElement;
|
||||
name = Cmd.getCurrentName(current);
|
||||
var parent = current && current.parentElement;
|
||||
var name = Cmd.getCurrentName(current);
|
||||
|
||||
if (current && name !== '..') {
|
||||
next = current.nextSibling,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue