diff options
author | jeresig <jeresig@gmail.com> | 2009-12-16 16:54:21 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2009-12-16 16:54:21 -0500 |
commit | f078e930edb25190bb04c682ad067b72331b6e69 (patch) | |
tree | 8d4235653eb66003324afcfe28028b6b276baf16 /src/attributes.js | |
parent | 9997620420ec0baf7dba8ce9dee0f19e616e1bc4 (diff) | |
download | jquery-f078e930edb25190bb04c682ad067b72331b6e69.tar.gz jquery-f078e930edb25190bb04c682ad067b72331b6e69.zip |
Reverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902.
Diffstat (limited to 'src/attributes.js')
-rw-r--r-- | src/attributes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes.js b/src/attributes.js index 17c18c9bf..f3d09516d 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 ); } }, |