]> source.dussan.org Git - jquery.git/commitdiff
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 17c18c9bf3cab6094dbb71d10ff50b36823c31d1..f3d09516d9dcb4c16c055a229763f547b1acfa9a 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 );
                }
        },