Fix for SVN rev [6537]. Events weren't being unbound correctly in Internet Explorer (cleanData wasn't handling malformed NodeList results correctly).
This commit is contained in:
parent
5b9214e7d8
commit
7638fc5835
|
@ -444,9 +444,8 @@ jQuery.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
function cleanData( elems ) {
|
function cleanData( elems ) {
|
||||||
for ( var i = 0, l = elems.length; i < l; i++ ) {
|
for ( var i = 0, elem, id; (elem = elems[i]) != null; i++ ) {
|
||||||
var id = elems[i][expando];
|
if ( (id = elem[expando]) ) {
|
||||||
if ( id ) {
|
|
||||||
delete jQuery.cache[ id ];
|
delete jQuery.cache[ id ];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue