This commit is contained in:
Brandon Aaron 2007-11-14 15:06:48 +00:00
parent d5cb977a08
commit ee52c89dc9

View File

@ -450,7 +450,8 @@ function bindReady(){
}
// Prevent memory leaks in IE
if ( jQuery.browser.msie )
// And prevent errors on refresh with events like mouseover
// Window isn't included so as not to unbind existing unload events
jQuery(window).bind("unload", function() {
$("*").add([document, window]).unbind();
$("*").add(document).unbind();
});