Bug 837397 Followup to Bug 773761, don't define overlay twice in the same block r=Neil.
authorPhilip Chee <philip.chee@gmail.com>
Sat, 02 Feb 2013 23:06:56 +0800
changeset 11867 b2986e12f420c5c4225526c2ae73505b8ab0f73b
parent 11866 85d4bbbd8d6776577c90073ad7ddab56d9400a31
child 11868 616ca9a9b5123143c91625005d520bdbbc699dd0
push id8843
push userphilip.chee@gmail.com
push dateSat, 02 Feb 2013 15:07:55 +0000
treeherdercomm-central@b2986e12f420 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil
bugs837397, 773761
Bug 837397 Followup to Bug 773761, don't define overlay twice in the same block r=Neil.
suite/common/bindings/notification.xml
--- a/suite/common/bindings/notification.xml
+++ b/suite/common/bindings/notification.xml
@@ -1237,17 +1237,16 @@
               return;
             }
 
             this.addLinkClickCallback(overlay, this.activateSinglePlugin, pluginElement);
 
             if (!this.clickToPlayPromptShown)
               this.showPluginClickToPlayPrompt();
 
-            let overlay = doc.getAnonymousElementByAttribute(pluginElement, "class", "mainBox");
             if (this.isTooSmall(pluginElement, overlay))
               overlay.style.visibility = "hidden";
           ]]>
         </body>
       </method>
 
       <method name="handlePlayPreviewEvent">
         <parameter name="pluginElement"/>