Don't move scroll position if the target tab is already in the viewport (regression by the previous commit)
This commit is contained in:
parent
4ff4584833
commit
eccfe1ea8d
@ -6689,6 +6689,9 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
||||
|
||||
this.cancelPerformingAutoScroll(true);
|
||||
|
||||
if (this.isTabInViewport(aTab))
|
||||
return;
|
||||
|
||||
var b = this.mTabBrowser;
|
||||
|
||||
var scrollBoxObject = this.scrollBoxObject;
|
||||
|
Loading…
Reference in New Issue
Block a user