X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fevent.js;h=9d77314b59af37671b7efa59f84351e3c108d1dc;hb=f3474c00cd6d9e5fd61b6ef1562003e9986ad67d;hp=e911f29612c4a6d49362c14c7373922943a99d70;hpb=4a3c4c86c95a99282d743c09bccff8ad73a7ec11;p=jquery.git diff --git a/src/event.js b/src/event.js index e911f29..9d77314 100644 --- a/src/event.js +++ b/src/event.js @@ -776,11 +776,10 @@ jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," + }); // Prevent memory leaks in IE -// And prevent errors on refresh with events like mouseover in other browsers // Window isn't included so as not to unbind existing unload events // More info: // - http://isaacschlueter.com/2006/10/msie-memory-leaks/ -// - https://bugzilla.mozilla.org/show_bug.cgi?id=252542 +/*@cc_on jQuery( window ).bind( 'unload', function() { for ( var id in jQuery.cache ) { // Skip the window @@ -789,3 +788,4 @@ jQuery( window ).bind( 'unload', function() { } } }); +@*/