Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-trigger
Conflicts: src/event.js
This commit is contained in:
commit
7957516671
|
@ -590,6 +590,9 @@ jQuery.Event = function( src ) {
|
|||
}
|
||||
}
|
||||
|
||||
// Always ensure a type has been explicitly set
|
||||
this.type = src.type;
|
||||
|
||||
// Events bubbling up the document may have been marked as prevented
|
||||
// by a handler lower down the tree; reflect the correct value.
|
||||
this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false ||
|
||||
|
|
Loading…
Reference in a new issue