1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure tab scroll handles are cleared when hide-all tabs run

This commit is contained in:
Nick O'Leary 2021-09-30 10:33:29 +01:00
parent 3b6d0995b4
commit 8bf69c598a
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -632,6 +632,9 @@ RED.tabs = (function() {
if (options.onhide) { if (options.onhide) {
options.onhide(tabs[id]) options.onhide(tabs[id])
} }
setTimeout(function() {
updateScroll()
},200)
}) })
li.addClass("hide-tab"); li.addClass("hide-tab");
li.css({width:0}) li.css({width:0})