diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index b83e2376..a0cfaf77 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1185,6 +1185,10 @@ var TreeStyleTabService = { { this.promoteTab(this.browser.selectedTab); }, + promoteTabs : function(aTabs) + { + aTabs.slice().reverse().forEach(this.promoteTab, this); + }, demoteTab : function(aTab) { @@ -1199,6 +1203,10 @@ var TreeStyleTabService = { { this.demoteTab(this.browser.selectedTab); }, + demoteTabs : function(aTabs) + { + aTabs.forEach(this.demoteTab, this); + }, /* Session Store API */