mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Make sure that there are some live events before continuing on.
This commit is contained in:
parent
5d36fe3210
commit
8404ad6070
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user