mirror of https://github.com/node-red/node-red.git
Add focus class to new selected label after removing focus class from previously selected label
parent
6a75a084ad
commit
957f701035
|
|
@ -879,6 +879,10 @@
|
|||
}
|
||||
|
||||
that._topList.find(".focus").removeClass("focus");
|
||||
|
||||
if (item.treeList.label) {
|
||||
item.treeList.label.addClass("focus");
|
||||
}
|
||||
|
||||
if (triggerEvent !== false) {
|
||||
this._trigger("select",null,item)
|
||||
|
|
|
|||
Loading…
Reference in New Issue