Commit f078e930 authored by jeresig's avatar jeresig

Reverted accidental commit in 5197ac9f.

parent 99976204
...@@ -165,8 +165,8 @@ jQuery.fn.extend({ ...@@ -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 );
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment