Reverted accidental commit in 5197ac9fc8
.
This commit is contained in:
parent
9997620420
commit
f078e930ed
|
@ -165,8 +165,8 @@ jQuery.fn.extend({
|
||||||
|
|
||||||
jQuery.each({
|
jQuery.each({
|
||||||
removeAttr: function( name ) {
|
removeAttr: function( name ) {
|
||||||
|
jQuery.attr( this, name, "" );
|
||||||
if ( this.nodeType === 1 ) {
|
if ( this.nodeType === 1 ) {
|
||||||
this[ jQuery.isXMLDoc( this ) ? name : jQuery.props[ name ] || name ] = null;
|
|
||||||
this.removeAttribute( name );
|
this.removeAttribute( name );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue