]> source.dussan.org Git - jquery.git/commitdiff
Run property names through propFix in removeProp
authortimmywil <tim.willison@thisismedium.com>
Wed, 4 May 2011 15:40:46 +0000 (11:40 -0400)
committertimmywil <tim.willison@thisismedium.com>
Wed, 4 May 2011 15:40:46 +0000 (11:40 -0400)
src/attributes.js

index 9fdbbd575106dc6ec3231367bdb297424935222a..97638632cec5efde5829e3b96771070bda9cb7cb 100644 (file)
@@ -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 {