Commit 4e0bc169 authored by Dave Methvin's avatar Dave Methvin

Fix #12863. Prevent oldIE from calling `.removeAttribute`

parent bbdf957e
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment