aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.js
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-05-04 11:40:46 -0400
committertimmywil <tim.willison@thisismedium.com>2011-05-04 11:40:46 -0400
commit3ed4b22073767c17c099351637514f5928c0fd68 (patch)
tree926de61388a4e1d5a9e6a55ce99ca316b012d9b3 /src/attributes.js
parent480b88ca37fb3aff4ba043298a8fb419905d3f21 (diff)
downloadjquery-3ed4b22073767c17c099351637514f5928c0fd68.tar.gz
jquery-3ed4b22073767c17c099351637514f5928c0fd68.zip
Run property names through propFix in removeProp
Diffstat (limited to 'src/attributes.js')
-rw-r--r--src/attributes.js1
1 files changed, 1 insertions, 0 deletions
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 {