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