mirror of https://github.com/node-red/node-red.git
Call reveal on a treelist target when it gets focused
parent
92ca0eea83
commit
cdc83afdee
|
|
@ -188,7 +188,10 @@
|
|||
} else {
|
||||
that._topList.find(".focus").removeClass("focus")
|
||||
}
|
||||
target.treeList.label.addClass('focus')
|
||||
if (target.treeList.label) {
|
||||
target.treeList.label.addClass('focus')
|
||||
}
|
||||
that.reveal(target);
|
||||
}
|
||||
});
|
||||
this._data = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue