Optimization for jQuery.event.fix ... don't send fake event through jQuery.event.fix

This commit is contained in:
Brandon Aaron 2008-04-27 20:37:58 +00:00
parent 508b1e2432
commit 77bb2c505f

View File

@ -185,7 +185,7 @@ jQuery.event = {
// Pass along a fake event
if ( event )
data.unshift( this.fix({ type: type, target: elem }) );
data.unshift( { type: type, target: elem } );
// Enforce the right trigger type
data[0].type = type;