Reverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902.
authorjeresig <jeresig@gmail.com>
Wed, 16 Dec 2009 21:54:21 +0000 (16:54 -0500)
committerjeresig <jeresig@gmail.com>
Wed, 16 Dec 2009 21:54:21 +0000 (16:54 -0500)
src/attributes.js

index 17c18c9..f3d0951 100644 (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 );
                }
        },