diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2013-01-06 21:47:02 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-01-06 21:47:02 -0500 |
commit | 4e0bc169df0f6dee45fe7c19925216453b431ebb (patch) | |
tree | 791bebd4a5b9e76d19ab12fc522adae73fd3fe99 /src/manipulation.js | |
parent | bbdf957e9886212cac9b72ee9dedd73118aa8427 (diff) | |
download | jquery-4e0bc169df0f6dee45fe7c19925216453b431ebb.tar.gz jquery-4e0bc169df0f6dee45fe7c19925216453b431ebb.zip |
Fix #12863. Prevent oldIE from calling `.removeAttribute`
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 2 |
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 { |