From f078e930edb25190bb04c682ad067b72331b6e69 Mon Sep 17 00:00:00 2001 From: jeresig Date: Wed, 16 Dec 2009 16:54:21 -0500 Subject: [PATCH] Reverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902. --- src/attributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } }, -- 1.7.10.4