Commit af1dc64b authored by Rick Waldron's avatar Rick Waldron Committed by timmywil

Landing pull request 510. Add notes about #9699 fix.

More Details:
 - https://github.com/jquery/jquery/pull/510
 - http://bugs.jquery.com/ticket/9699
parents e7a7cc89 bc65f930
...@@ -367,6 +367,7 @@ jQuery.extend({ ...@@ -367,6 +367,7 @@ jQuery.extend({
if ( elem.nodeType === 1 ) { if ( elem.nodeType === 1 ) {
name = jQuery.attrFix[ name ] || name; name = jQuery.attrFix[ name ] || name;
// See #9699 for explanation of this approach (setting first, then removal)
jQuery.attr( elem, name, "" ); jQuery.attr( elem, name, "" );
elem.removeAttribute( name ); elem.removeAttribute( name );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment