mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 04:47:55 -05:00
Fix #12863. Prevent oldIE from calling .removeAttribute
This commit is contained in:
@@ -780,7 +780,7 @@ jQuery.extend({
|
||||
if ( deleteExpando ) {
|
||||
delete elem[ internalKey ];
|
||||
|
||||
} else if ( elem.removeAttribute ) {
|
||||
} else if ( typeof elem.removeAttribute !== "undefined" ) {
|
||||
elem.removeAttribute( internalKey );
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user