jquery event: misc change
This commit is contained in:
parent
09b59038a0
commit
d075072768
1 changed files with 3 additions and 2 deletions
|
@ -190,9 +190,10 @@ jQuery.event = {
|
|||
},
|
||||
|
||||
// bubbling is internal
|
||||
trigger: function( event, data, elem, bubbling ) {
|
||||
trigger: function( event, data, elem /*, bubbling */ ) {
|
||||
// Event object or event type
|
||||
var type = event.type || event;
|
||||
var type = event.type || event,
|
||||
bubbling = arguments[3];
|
||||
|
||||
if ( !bubbling ) {
|
||||
event = typeof event === "object" ?
|
||||
|
|
Loading…
Reference in a new issue