aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-02-12 19:38:57 -0500
committerjeresig <jeresig@gmail.com>2010-02-12 19:38:57 -0500
commit8404ad6070d1fae8e667eed734d958154f0d7e3c (patch)
tree158bdae1ee77cd29c423aa425e24e709dbc6fbd7 /src
parent5d36fe3210787009e15e05ad602525d0c2823b5c (diff)
downloadjquery-8404ad6070d1fae8e667eed734d958154f0d7e3c.tar.gz
jquery-8404ad6070d1fae8e667eed734d958154f0d7e3c.zip
Make sure that there are some live events before continuing on.
Diffstat (limited to 'src')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
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;
}