git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reverted accidental commit in 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902.
[jquery.git]
/
src
/
attributes.js
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 );
}
},