Events that fire after the browser has already moved to another page no longer fire incorrectly.

This commit is contained in:
John Resig 2006-07-25 20:20:18 +00:00
parent aa5c4d8828
commit 6e868bb091

2
jquery/jquery.js vendored
View file

@ -1726,6 +1726,8 @@ jQuery.extend({
}, },
handle: function(event) { handle: function(event) {
if ( typeof jQuery == "undefined" ) return;
event = event || jQuery.event.fix( window.event ); event = event || jQuery.event.fix( window.event );
// If no correct event was found, fail // If no correct event was found, fail