From: jeresig Date: Sat, 13 Feb 2010 00:38:57 +0000 (-0500) Subject: Make sure that there are some live events before continuing on. X-Git-Tag: 1.4.2~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8404ad6070d1fae8e667eed734d958154f0d7e3c;p=jquery.git Make sure that there are some live events before continuing on. --- diff --git a/src/event.js b/src/event.js index 986322f79..17d7673ee 100644 --- a/src/event.js +++ b/src/event.js @@ -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; }