]> source.dussan.org Git - jquery.git/commitdiff
Make sure that there are some live events before continuing on.
authorjeresig <jeresig@gmail.com>
Sat, 13 Feb 2010 00:38:57 +0000 (19:38 -0500)
committerjeresig <jeresig@gmail.com>
Sat, 13 Feb 2010 00:38:57 +0000 (19:38 -0500)
src/event.js

index 986322f793aaf4b9566aa3176e30a9922df609f3..17d7673ee02ce6fb17cabaff5be59d179fe1a0a8 100644 (file)
@@ -977,7 +977,7 @@ function liveHandler( event ) {
                events = jQuery.data( this, "events" );
 
        // Make sure we avoid non-left-click bubbling in Firefox (#3861)
-       if ( event.liveFired === this || !events || event.button && event.type === "click" ) {
+       if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) {
                return;
        }