From ab16701d154929e874c77ccd67f994014fda6f4c Mon Sep 17 00:00:00 2001 From: Rodrigo Silveira Date: Thu, 5 Sep 2013 16:32:43 -0700 Subject: [PATCH] Bug 913229 - Snapped displays cropped multi-column tiles after touch scroll r=mbrubeck --HG-- extra : rebase_source : bda64fdfb199f0581d2c4f0154afdabebd6700c7 --- browser/metro/base/content/browser.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/browser/metro/base/content/browser.js b/browser/metro/base/content/browser.js index 7730de3a6676..a74e21c38c02 100644 --- a/browser/metro/base/content/browser.js +++ b/browser/metro/base/content/browser.js @@ -1143,9 +1143,12 @@ Browser.MainDragger.prototype = { }, _hideScrollbars: function _hideScrollbars() { - this._scrollScales.x = 0, this._scrollScales.y = 0; + this._scrollScales.x = 0; + this._scrollScales.y = 0; this._horizontalScrollbar.removeAttribute("panning"); this._verticalScrollbar.removeAttribute("panning"); + this._horizontalScrollbar.removeAttribute("width"); + this._verticalScrollbar.removeAttribute("height"); this._horizontalScrollbar.style.MozTransform = ""; this._verticalScrollbar.style.MozTransform = ""; }