Make sure that we don't try to remove data from an applet. Re-Fixes #1675.

This commit is contained in:
jeresig 2010-03-02 13:56:15 -05:00
parent ad103c8e6a
commit 04e31ff058

View file

@ -552,6 +552,10 @@ jQuery.extend({
deleteExpando = jQuery.support.deleteExpando; deleteExpando = jQuery.support.deleteExpando;
for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) { for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
continue;
}
id = elem[ jQuery.expando ]; id = elem[ jQuery.expando ];
if ( id ) { if ( id ) {