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
1 changed files with 3 additions and 0 deletions

View File

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