From: jeresig Date: Tue, 2 Mar 2010 18:56:15 +0000 (-0500) Subject: Make sure that we don't try to remove data from an applet. Re-Fixes #1675. X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=04e31ff058548fbdbdf77c61d4edc3a974b080f4 Make sure that we don't try to remove data from an applet. Re-Fixes #1675. --- diff --git a/src/manipulation.js b/src/manipulation.js index f276a07..7dc8136 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 ) {