mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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 );
|
body.removeChild( container );
|
||||||
jQuery.offset.initialize = function(){};
|
jQuery.offset.initialize = function(){};
|
||||||
|
|
||||||
|
body = container = innerDiv = checkDiv = table = td = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
bodyOffset: function(body) {
|
bodyOffset: function(body) {
|
||||||
|
@ -88,10 +88,11 @@
|
|||||||
document.body.appendChild( div );
|
document.body.appendChild( div );
|
||||||
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
|
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
|
||||||
document.body.removeChild( div ).style.display = 'none';
|
document.body.removeChild( div ).style.display = 'none';
|
||||||
|
div = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
// release memory in IE
|
// release memory in IE
|
||||||
div = null;
|
root = script = div = all = a = null;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
jQuery.props = {
|
jQuery.props = {
|
||||||
|
Loading…
Reference in New Issue
Block a user