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" );
|
events = jQuery.data( this, "events" );
|
||||||
|
|
||||||
// Make sure we avoid non-left-click bubbling in Firefox (#3861)
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue