mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Prevent deleting the final tab
This commit is contained in:
@@ -90,7 +90,10 @@ RED.tabs = function() {
|
||||
|
||||
},
|
||||
activateTab: activateTab,
|
||||
resize: updateTabWidths
|
||||
resize: updateTabWidths,
|
||||
count: function() {
|
||||
return ul.find("li.red-ui-tab").size();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user