Skip to content
Permalink
Browse files

Make sure that there are some live events before continuing on.

  • Loading branch information
jeresig committed Feb 13, 2010
1 parent 5d36fe3 commit 8404ad6070d1fae8e667eed734d958154f0d7e3c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit 8404ad6

Please sign in to comment.
You can’t perform that action at this time.