Respect "load in background" option for gBrowser.loadTabs() correctly #1195
This commit is contained in:
parent
149cc54bad
commit
bbeb869799
@ -477,7 +477,7 @@ var TreeStyleTabWindowHelper = {
|
||||
firstTabAdded = tabs[0];
|
||||
}
|
||||
finally {
|
||||
if (!aReplace && firstTabAdded) {
|
||||
if (!aLoadInBackground && !aReplace && firstTabAdded) {
|
||||
this.selectedTab = aURIs[0].indexOf('about:treestyletab-group') == 0 ?
|
||||
TreeStyleTabService.getNextTab(firstTabAdded) :
|
||||
firstTabAdded;
|
||||
|
Loading…
Reference in New Issue
Block a user