fixing memory leaks in IE

This commit is contained in:
Brandon Aaron 2009-04-21 18:46:39 +00:00
parent 4130319e97
commit 92a076cb2f

View file

@ -89,6 +89,9 @@
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';
}); });
// release memory in IE
root = script = div = all = a = null;
})(); })();
jQuery.props = { jQuery.props = {