aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-03-02 13:56:15 -0500
committerjeresig <jeresig@gmail.com>2010-03-02 13:56:15 -0500
commit04e31ff058548fbdbdf77c61d4edc3a974b080f4 (patch)
tree5aaec5163500d5fbc7d048221c6aa0f20e8a8af5 /src/manipulation.js
parentad103c8e6a2fead02822360583d56bcf42c032c4 (diff)
downloadjquery-04e31ff058548fbdbdf77c61d4edc3a974b080f4.tar.gz
jquery-04e31ff058548fbdbdf77c61d4edc3a974b080f4.zip
Make sure that we don't try to remove data from an applet. Re-Fixes #1675.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index f276a07cd..7dc813689 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -552,6 +552,10 @@ jQuery.extend({
deleteExpando = jQuery.support.deleteExpando;
for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
+ if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
+ continue;
+ }
+
id = elem[ jQuery.expando ];
if ( id ) {