mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix #12863. Prevent oldIE from calling .removeAttribute
This commit is contained in:
parent
bbdf957e98
commit
4e0bc169df
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user