aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-01-06 21:47:02 -0500
committerDave Methvin <dave.methvin@gmail.com>2013-01-06 21:47:02 -0500
commit4e0bc169df0f6dee45fe7c19925216453b431ebb (patch)
tree791bebd4a5b9e76d19ab12fc522adae73fd3fe99 /src/manipulation.js
parentbbdf957e9886212cac9b72ee9dedd73118aa8427 (diff)
downloadjquery-4e0bc169df0f6dee45fe7c19925216453b431ebb.tar.gz
jquery-4e0bc169df0f6dee45fe7c19925216453b431ebb.zip
Fix #12863. Prevent oldIE from calling `.removeAttribute`
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index e8c0fe46f..3393dd0a5 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -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 {