From: timmywil Date: Wed, 4 May 2011 15:40:46 +0000 (-0400) Subject: Run property names through propFix in removeProp X-Git-Tag: 1.6.1rc1~30 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ed4b22073767c17c099351637514f5928c0fd68;p=jquery.git Run property names through propFix in removeProp --- diff --git a/src/attributes.js b/src/attributes.js index 9fdbbd575..97638632c 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -26,6 +26,7 @@ jQuery.fn.extend({ }, removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; return this.each(function() { // try/catch handles cases where IE balks (such as removing a property on window) try {