Skip to content
Permalink
Browse files

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

…Query.event.fix
  • Loading branch information
brandonaaron committed Apr 27, 2008
1 parent 508b1e2 commit 77bb2c505f1d2c4437f4b52866408f8bd1a5020f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -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;

0 comments on commit 77bb2c5

Please sign in to comment.
You can’t perform that action at this time.