Bug 1406602 - Remove superfluous closing bracket. rs=bustage-fix
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Tue, 17 Oct 2017 19:28:59 +0200
changeset 29202 de608607cf4b8608a73b85a1505e4a73f0b7f0b4
parent 29201 50e49f7a215b09bbd781d592468a9e5d6cf1da45
child 29203 11c646b34545160b1201b000780b3a55d248dbee
push id2068
push userclokep@gmail.com
push dateMon, 13 Nov 2017 19:02:14 +0000
treeherdercomm-beta@9c7e7ce8672b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1406602
Bug 1406602 - Remove superfluous closing bracket. rs=bustage-fix
suite/browser/linkToolbarOverlay.js
--- a/suite/browser/linkToolbarOverlay.js
+++ b/suite/browser/linkToolbarOverlay.js
@@ -62,17 +62,17 @@ function()
 
   while(currentNode)
   {
     if (currentNode instanceof Components.interfaces.nsIDOMHTMLHeadElement) {
       currentNode = currentNode.firstChild;
 
       while(currentNode)
       {
-        if (ChromeUtils.getClassName(currentNode) === "HTMLLinkElement"))
+        if (ChromeUtils.getClassName(currentNode) === "HTMLLinkElement")
           linkToolbarUI.linkAdded({originalTarget: currentNode});
         currentNode = currentNode.nextSibling;
       }
     }
     else if (currentNode instanceof Components.interfaces.nsIDOMElement)
     {
       // head is supposed to be the first element inside html.
       // Got something else instead. returning