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];
|
firstTabAdded = tabs[0];
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
if (!aReplace && firstTabAdded) {
|
if (!aLoadInBackground && !aReplace && firstTabAdded) {
|
||||||
this.selectedTab = aURIs[0].indexOf('about:treestyletab-group') == 0 ?
|
this.selectedTab = aURIs[0].indexOf('about:treestyletab-group') == 0 ?
|
||||||
TreeStyleTabService.getNextTab(firstTabAdded) :
|
TreeStyleTabService.getNextTab(firstTabAdded) :
|
||||||
firstTabAdded;
|
firstTabAdded;
|
||||||
|
Loading…
Reference in New Issue
Block a user