Commit ee52c89d authored by Brandon Aaron's avatar Brandon Aaron

Fix for #1911

parent d5cb977a
...@@ -450,7 +450,8 @@ function bindReady(){ ...@@ -450,7 +450,8 @@ function bindReady(){
} }
// Prevent memory leaks in IE // Prevent memory leaks in IE
if ( jQuery.browser.msie ) // And prevent errors on refresh with events like mouseover
jQuery(window).bind("unload", function() { // Window isn't included so as not to unbind existing unload events
$("*").add([document, window]).unbind(); jQuery(window).bind("unload", function() {
}); $("*").add(document).unbind();
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment