git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9997620
)
Reverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902.
author
jeresig
<jeresig@gmail.com>
Wed, 16 Dec 2009 21:54:21 +0000
(16:54 -0500)
committer
jeresig
<jeresig@gmail.com>
Wed, 16 Dec 2009 21:54:21 +0000
(16:54 -0500)
src/attributes.js
patch
|
blob
|
history
diff --git
a/src/attributes.js
b/src/attributes.js
index
17c18c9
..
f3d0951
100644
(file)
--- 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 );
}
},