diff --git a/content/treestyletab/windowHelper.js b/content/treestyletab/windowHelper.js index dd0725b1..cbfa14c6 100644 --- a/content/treestyletab/windowHelper.js +++ b/content/treestyletab/windowHelper.js @@ -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;