Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Workaround for issue 5744: Radio button deselects when Firebug is open

  • Loading branch information...
commit e858db35e0d8c4cfbb5e6bf680444073f43201b3 1 parent a375757
Simon Lindholm authored October 08, 2012
5  extension/content/firebug/css/stylePanel.js
@@ -869,6 +869,11 @@ function getFontPropValueParts(element, value, propName)
869 869
 
870 870
     // Clone the element to just get the fonts used in it and not its descendants
871 871
     var clonedElement = element.cloneNode(false);
  872
+
  873
+    // Workaround for issue 5744
  874
+    clonedElement.removeAttribute("name");
  875
+    clonedElement.removeAttribute("id");
  876
+
872 877
     clonedElement.textContent = element.textContent;
873 878
     Firebug.setIgnored(clonedElement);
874 879
     element.parentNode.appendChild(clonedElement);

0 notes on commit e858db3

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