]> source.dussan.org Git - jquery.git/commitdiff
Make sure that we don't try to remove data from an applet. Re-Fixes #1675.
authorjeresig <jeresig@gmail.com>
Tue, 2 Mar 2010 18:56:15 +0000 (13:56 -0500)
committerjeresig <jeresig@gmail.com>
Tue, 2 Mar 2010 18:56:15 +0000 (13:56 -0500)
src/manipulation.js

index f276a07cd4c15db55505ac84ae67e0d4c0355c59..7dc813689579aaef7c69cd73038e49f2c430b34f 100644 (file)
@@ -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 ) {