mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3373 from Steve-Mcl/merge-fix
bug: merge issue. fixes #3364
This commit is contained in:
commit
283e8d3c08
@ -557,23 +557,19 @@ RED.tabs = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
li.one("transitionend", function(evt) {
|
li.remove();
|
||||||
li.remove();
|
if (tabs[id].pinned) {
|
||||||
if (tabs[id].pinned) {
|
pinnedTabsCount--;
|
||||||
pinnedTabsCount--;
|
}
|
||||||
}
|
if (options.onremove) {
|
||||||
if (options.onremove) {
|
options.onremove(tabs[id]);
|
||||||
options.onremove(tabs[id]);
|
}
|
||||||
}
|
delete tabs[id];
|
||||||
delete tabs[id];
|
updateTabWidths();
|
||||||
updateTabWidths();
|
if (collapsibleMenu) {
|
||||||
if (collapsibleMenu) {
|
collapsibleMenu.remove();
|
||||||
collapsibleMenu.remove();
|
collapsibleMenu = null;
|
||||||
collapsibleMenu = null;
|
}
|
||||||
}
|
|
||||||
})
|
|
||||||
li.addClass("hide-tab");
|
|
||||||
li.width(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function findPreviousVisibleTab(li) {
|
function findPreviousVisibleTab(li) {
|
||||||
|
Loading…
Reference in New Issue
Block a user