Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit e858db35e0d8c4cfbb5e6bf680444073f43201b3 1 parent a375757
Simon Lindholm simonlindholm authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 extension/content/firebug/css/stylePanel.js
5 extension/content/firebug/css/stylePanel.js
View
@@ -869,6 +869,11 @@ function getFontPropValueParts(element, value, propName)
// Clone the element to just get the fonts used in it and not its descendants
var clonedElement = element.cloneNode(false);
+
+ // Workaround for issue 5744
+ clonedElement.removeAttribute("name");
+ clonedElement.removeAttribute("id");
+
clonedElement.textContent = element.textContent;
Firebug.setIgnored(clonedElement);
element.parentNode.appendChild(clonedElement);
Please sign in to comment.
Something went wrong with that request. Please try again.