fixing a few more memory leaks in IE
This commit is contained in:
parent
432ea4ca6c
commit
1bd4325cb9
|
@ -75,6 +75,8 @@ jQuery.offset = {
|
|||
|
||||
body.removeChild( container );
|
||||
jQuery.offset.initialize = function(){};
|
||||
|
||||
body = container = innerDiv = checkDiv = table = td = null;
|
||||
},
|
||||
|
||||
bodyOffset: function(body) {
|
||||
|
|
|
@ -88,10 +88,11 @@
|
|||
document.body.appendChild( div );
|
||||
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
|
||||
document.body.removeChild( div ).style.display = 'none';
|
||||
div = null;
|
||||
});
|
||||
|
||||
// release memory in IE
|
||||
div = null;
|
||||
root = script = div = all = a = null;
|
||||
})();
|
||||
|
||||
jQuery.props = {
|
||||
|
|
Loading…
Reference in a new issue