Commit eaedf098 authored by Oleg's avatar Oleg Committed by Richard Gibson

No ticket: Small simplification of .removeProp. Close gh-1227.

parent 18d00676
......@@ -20,10 +20,8 @@ jQuery.fn.extend({
},
removeProp: function( name ) {
name = jQuery.propFix[ name ] || name;
return this.each(function() {
this[ name ] = undefined;
delete this[ name ];
delete this[ jQuery.propFix[ name ] || 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