Events that fire after the browser has already moved to another page no longer fire...
authorJohn Resig <jeresig@gmail.com>
Tue, 25 Jul 2006 20:20:18 +0000 (20:20 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 25 Jul 2006 20:20:18 +0000 (20:20 +0000)
jquery/jquery.js

index 9aac295..178ed0a 100644 (file)
@@ -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