Skip to content
Permalink
Browse files
Fix #12863. Prevent oldIE from calling .removeAttribute
  • Loading branch information
dmethvin committed Jan 7, 2013
1 parent bbdf957 commit 4e0bc169df0f6dee45fe7c19925216453b431ebb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/manipulation.js
@@ -780,7 +780,7 @@ jQuery.extend({
if ( deleteExpando ) {
delete elem[ internalKey ];

} else if ( elem.removeAttribute ) {
} else if ( typeof elem.removeAttribute !== "undefined" ) {

This comment has been minimized.

Copy link
@staabm

staabm Jan 7, 2013

Contributor

Should the line been commented using "Support: oldIE"?

elem.removeAttribute( internalKey );

} else {

0 comments on commit 4e0bc16

Please sign in to comment.