From 04e31ff058548fbdbdf77c61d4edc3a974b080f4 Mon Sep 17 00:00:00 2001 From: jeresig Date: Tue, 2 Mar 2010 13:56:15 -0500 Subject: [PATCH] Make sure that we don't try to remove data from an applet. Re-Fixes #1675. --- src/manipulation.js | 4 ++++ 1 file changed, 4 insertions(+) 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 ) { -- 1.7.10.4