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.
This commit is contained in:
Lucas Rocha 2011-08-19 15:43:22 +02:00
parent 8b78252499
commit 0dcc2dd592

View File

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