jquery event: misc change

This commit is contained in:
Ariel Flesler 2009-05-10 14:38:35 +00:00
parent 09b59038a0
commit d075072768

View file

@ -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" ?