Don't scroll to newly opened hidden tab #604
This commit is contained in:
parent
9c3221b722
commit
bd3f2969a7
@ -3350,7 +3350,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
||||
|
||||
scrollToNewTab : function TSTBrowser_scrollToNewTab(aTab)
|
||||
{
|
||||
if (!aTab.parentNode) // do nothing for closed tab!
|
||||
if (!aTab.parentNode || aTab.getAttribute('hidden') == 'true')
|
||||
return;
|
||||
|
||||
if (this.scrollToNewTabMode > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user