From: John Resig Date: Tue, 25 Jul 2006 20:20:18 +0000 (+0000) Subject: Events that fire after the browser has already moved to another page no longer fire... X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=6e868bb091f14a534c898c7a47e6fecd3e403b60;p=jquery.git Events that fire after the browser has already moved to another page no longer fire incorrectly. --- diff --git a/jquery/jquery.js b/jquery/jquery.js index 9aac295..178ed0a 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -1726,6 +1726,8 @@ jQuery.extend({ }, handle: function(event) { + if ( typeof jQuery == "undefined" ) return; + event = event || jQuery.event.fix( window.event ); // If no correct event was found, fail