Don't scroll to group tabs opened in the background
This commit is contained in:
parent
609400e19a
commit
2e484f9026
@ -269,7 +269,8 @@ var TreeStyleTabBookmarksService = inherit(TreeStyleTabService, {
|
|||||||
' let tabs = browserWindow.TreeStyleTabService.getNewTabsFromPreviousTabsInfo(browserWindow.gBrowser, TSTPreviousTabs);\n' +
|
' let tabs = browserWindow.TreeStyleTabService.getNewTabsFromPreviousTabsInfo(browserWindow.gBrowser, TSTPreviousTabs);\n' +
|
||||||
' if (!TSTTreeStructureApplied)\n' +
|
' if (!TSTTreeStructureApplied)\n' +
|
||||||
' browserWindow.TreeStyleTabService.applyTreeStructureToTabs(tabs, TSTTreeStructure, TSTOpenGroupBookmarkBehavior & browserWindow.TreeStyleTabBookmarksService.kGROUP_BOOKMARK_EXPAND_ALL_TREE);\n' +
|
' browserWindow.TreeStyleTabService.applyTreeStructureToTabs(tabs, TSTTreeStructure, TSTOpenGroupBookmarkBehavior & browserWindow.TreeStyleTabBookmarksService.kGROUP_BOOKMARK_EXPAND_ALL_TREE);\n' +
|
||||||
' browserWindow.gBrowser.treeStyleTab.scrollToTabs(tabs);\n' +
|
' if (!loadInBackground)\n' +
|
||||||
|
' browserWindow.gBrowser.treeStyleTab.scrollToTabs(tabs);\n' +
|
||||||
' }\n' +
|
' }\n' +
|
||||||
'$1'
|
'$1'
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user