diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/event.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js index e65be9a54..c9de8e617 100644 --- a/src/event.js +++ b/src/event.js @@ -235,7 +235,8 @@ jQuery.event = { event : new jQuery.Event( type, typeof event === "object" && event ); - event.isTrigger = true; + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; event.namespace = namespaces.join("."); event.namespace_re = event.namespace ? new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : |