Reverted accidental commit in 5197ac9fc8.

This commit is contained in:
jeresig 2009-12-16 16:54:21 -05:00
parent 9997620420
commit f078e930ed

View file

@ -165,8 +165,8 @@ jQuery.fn.extend({
jQuery.each({
removeAttr: function( name ) {
jQuery.attr( this, name, "" );
if ( this.nodeType === 1 ) {
this[ jQuery.isXMLDoc( this ) ? name : jQuery.props[ name ] || name ] = null;
this.removeAttribute( name );
}
},