Skip to content

Commit

Permalink
Make sure that we don't try to remove data from an applet. Re-Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Mar 2, 2010
1 parent ad103c8 commit 04e31ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/manipulation.js
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 04e31ff

Please sign in to comment.