Run property names through propFix in removeProp
This commit is contained in:
parent
480b88ca37
commit
3ed4b22073
|
@ -26,6 +26,7 @@ jQuery.fn.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
removeProp: function( name ) {
|
removeProp: function( name ) {
|
||||||
|
name = jQuery.propFix[ name ] || name;
|
||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
// try/catch handles cases where IE balks (such as removing a property on window)
|
// try/catch handles cases where IE balks (such as removing a property on window)
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue