Bug 676321 - Remove redudant visibility update as anchorTo() does it too (r=mbrubeck)
authorLucas Rocha <lucasr@mozilla.com>
Fri, 19 Aug 2011 15:41:18 +0200
changeset 75560 38f76966da562e1b1040c8023370415e1ac2ba78
parent 75559 bac63bffbc15af42f8b2bfe1fd87df78d1fce3d5
child 75561 aa378dbf52e72b41e6c2e172ee966d715170a5a9
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersmbrubeck
bugs676321
milestone9.0a1
Bug 676321 - Remove redudant visibility update as anchorTo() does it too (r=mbrubeck)
mobile/chrome/content/ContentPopupHelper.js
--- a/mobile/chrome/content/ContentPopupHelper.js
+++ b/mobile/chrome/content/ContentPopupHelper.js
@@ -211,17 +211,16 @@ var ContentPopupHelper = {
       case "PanBegin":
       case "AnimatedZoomBegin":
         popup.left = 0;
         popup.style.visibility = "hidden";
         break;
 
       case "PanFinished":
       case "AnimatedZoomEnd":
-        popup.style.visibility = "visible";
         this.anchorTo();
         break;
 
       case "MozBeforeResize":
         popup.left = 0;
         break;
 
       case "resize":