Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 7638fc5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/manipulation.js
Expand Up @@ -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 ];
}
}
Expand Down

0 comments on commit 7638fc5

Please sign in to comment.