diff options
author | jeresig <jeresig@gmail.com> | 2010-02-13 06:57:58 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-02-13 06:57:58 -0500 |
commit | a6f3757d50f8be021505f4f7fa7201199e8b7f2d (patch) | |
tree | 295d594132dfbeeedfef504bf525dfd596139b0b /src/manipulation.js | |
parent | 9195107dbb13ad34ae4e9f7cb1df5d79e4748560 (diff) | |
download | jquery-a6f3757d50f8be021505f4f7fa7201199e8b7f2d.tar.gz jquery-a6f3757d50f8be021505f4f7fa7201199e8b7f2d.zip |
Found a better detect for deleting an expando, added back in removeAttribute as it does work in IE.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index 4eb19eaf0..196f23072 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -569,7 +569,10 @@ jQuery.extend({ } if ( deleteExpando ) { - delete elem[ expando ]; + delete elem[ jQuery.expando ]; + + } else if ( elem.removeAttribute ) { + elem.removeAttribute( jQuery.expando ); } delete cache[ id ]; |