From bbeb86979954028788313c96bcc58e5c604d9af6 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Thu, 15 Sep 2016 00:26:32 +0900 Subject: [PATCH] Respect "load in background" option for gBrowser.loadTabs() correctly #1195 --- content/treestyletab/windowHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;