Don't move scroll position if the target tab is already in the viewport (regression by the previous commit)

This commit is contained in:
Piro / YUKI Hiroshi 2015-03-18 02:59:58 +09:00
parent 4ff4584833
commit eccfe1ea8d

View File

@ -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;