Skip to content

Commit

Permalink
Add notes about #9699 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Sep 19, 2011
1 parent 7856230 commit 6174612
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ jQuery.extend({
if ( elem.nodeType === 1 ) {
name = jQuery.attrFix[ name ] || name;

// See #9699 for explanation of ths approach (setting first, then removal)
jQuery.attr( elem, name, "" );
elem.removeAttribute( name );

Expand Down

0 comments on commit 6174612

Please sign in to comment.