Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed formatting of previous commit

  • Loading branch information...
commit 20693cdd82e0ef3c13de6bc25667893ccaef7939 1 parent 5d32d8a
Sebastian Zartner authored August 06, 2012
14  extension/content/firebug/html/htmlPanel.js
@@ -2266,14 +2266,16 @@ AttributeEditor.prototype = domplate(Firebug.InlineEditor.prototype,
2266 2266
 
2267 2267
     getInitialValue: function(target, value)
2268 2268
     {
2269  
-        if(value == "")
  2269
+        if (value == "")
2270 2270
             return value;
  2271
+
2271 2272
         var element = Firebug.getRepObject(target);
2272  
-            if(element && element instanceof window.Element)
2273  
-            {
2274  
-                var attributeName = Dom.getPreviousByClass(target, "nodeName").textContent;
2275  
-                return element.getAttribute(attributeName);
2276  
-            }
  2273
+        if (element && element instanceof window.Element)
  2274
+        {
  2275
+            var attributeName = Dom.getPreviousByClass(target, "nodeName").textContent;
  2276
+            return element.getAttribute(attributeName);
  2277
+        }
  2278
+
2277 2279
         return value;
2278 2280
     }
2279 2281
 });

0 notes on commit 20693cd

Please sign in to comment.
Something went wrong with that request. Please try again.