Add notes about #9699 fix

This commit is contained in:
Rick Waldron 2011-09-18 20:15:35 -04:00
parent 7856230f67
commit 6174612daa

View File

@ -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 );