Skip to content
Permalink
Browse files

Fix for SVN rev [6537]. Events weren't being unbound correctly in Int…

…ernet Explorer (cleanData wasn't handling malformed NodeList results correctly).
  • Loading branch information
jeresig committed Sep 15, 2009
1 parent 5b9214e commit 7638fc58354e295f96a2d948adcb1ce1c2da60b3
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/manipulation.js
@@ -444,9 +444,8 @@ jQuery.extend({
});

function cleanData( elems ) {
for ( var i = 0, l = elems.length; i < l; i++ ) {
var id = elems[i][expando];
if ( id ) {
for ( var i = 0, elem, id; (elem = elems[i]) != null; i++ ) {
if ( (id = elem[expando]) ) {
delete jQuery.cache[ id ];
}
}

0 comments on commit 7638fc5

Please sign in to comment.
You can’t perform that action at this time.