Fixed other nodeNode mistake, sigh.

This commit is contained in:
John Resig 2009-12-07 15:08:06 -08:00
parent ed93204e10
commit 15f9d91c78

View file

@ -463,7 +463,7 @@ jQuery.extend({
function cleanData( elems ) {
for ( var i = 0, elem, id; (elem = elems[i]) != null; i++ ) {
if ( !jQuery.noData[elem.nodeNode.toLowerCase()] && (id = elem[expando]) ) {
if ( !jQuery.noData[elem.nodeName.toLowerCase()] && (id = elem[expando]) ) {
delete jQuery.cache[ id ];
}
}