collapsed last tabs were not moved on switchings of tab groups
This commit is contained in:
parent
58703eaeab
commit
44b313f5e5
@ -2867,9 +2867,13 @@ TreeStyleTabBrowser.prototype = {
|
||||
updateTreeByTabVisibility : function TSTBrowser_updateTreeByTabVisibility(aChangedTabs)
|
||||
{
|
||||
this.internallyTabMovingCount++;
|
||||
|
||||
var tabs = this.getAllTabsArray(this.mTabBrowser);
|
||||
aChangedTabs = aChangedTabs || tabs;
|
||||
var lastVisibleTab = this.getLastVisibleTab(this.mTabBrowser);
|
||||
|
||||
var lastVisibleTab = this.mTabBrowser.visibleTabs;
|
||||
lastVisibleTab = lastVisibleTab[lastVisibleTab.length-1];
|
||||
|
||||
tabs.reverse().forEach(function(aTab) {
|
||||
var parent = this.getParentTab(aTab);
|
||||
var attached = false;
|
||||
|
Loading…
Reference in New Issue
Block a user