From 0dcc2dd592fa3534c6ff1523695ff2cf05dd4a82 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Fri, 19 Aug 2011 15:43:22 +0200 Subject: [PATCH] Bug 676321 - Do not reset popup position on content resize, panning, and zooming (r=mbrubeck) We control the sidebar side effects by zeroing the maximum width of the popup every time the window size changes. --- mobile/chrome/content/ContentPopupHelper.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/mobile/chrome/content/ContentPopupHelper.js b/mobile/chrome/content/ContentPopupHelper.js index 50106ad886d3..e3ce131d8aa4 100644 --- a/mobile/chrome/content/ContentPopupHelper.js +++ b/mobile/chrome/content/ContentPopupHelper.js @@ -210,7 +210,6 @@ var ContentPopupHelper = { case "PanBegin": case "AnimatedZoomBegin": - popup.left = 0; popup.style.visibility = "hidden"; break; @@ -220,7 +219,6 @@ var ContentPopupHelper = { break; case "MozBeforeResize": - popup.left = 0; popup.style.visibility = "hidden"; // When screen orientation changes, we have to ensure that