Skip to content
Permalink
Browse files
fixing a few more memory leaks in IE
  • Loading branch information
brandonaaron committed Apr 22, 2009
1 parent 432ea4c commit 1bd4325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
@@ -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 = {

0 comments on commit 1bd4325

Please sign in to comment.