From: jeresig Date: Wed, 16 Dec 2009 21:54:21 +0000 (-0500) Subject: Reverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902. X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=f078e930edb25190bb04c682ad067b72331b6e69 Reverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902. --- diff --git a/src/attributes.js b/src/attributes.js index 17c18c9..f3d0951 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -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 ); } },