diff --git a/modules/browser.js b/modules/browser.js index 9cc6a316..e2bd584e 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -2957,11 +2957,11 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { if (this.isSmoothScrolling()) return; - let x = {}, y = {}; - let scrollBoxObject = this.scrollBoxObject; - scrollBoxObject.getPosition(x, y); - if (x.value != lastX || y.value != lastY) - scrollBoxObject.scrollTo(lastX, lastY); + let x = {}, y = {}; + let scrollBoxObject = this.scrollBoxObject; + scrollBoxObject.getPosition(x, y); + if (x.value != lastX || y.value != lastY) + scrollBoxObject.scrollTo(lastX, lastY); }, clearLastScrollPosition : function TSTBrowser_clearLastScrollPosition()