mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Merge branch 'master' of git@github.com:jquery/jquery
This commit is contained in:
commit
5b51cc92fc
@ -163,8 +163,8 @@ jQuery.fn.extend({
|
||||
|
||||
jQuery.each({
|
||||
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 );
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user