]> source.dussan.org Git - jquery.git/commitdiff
Optimization for jQuery.event.fix ... don't send fake event through jQuery.event.fix
authorBrandon Aaron <brandon.aaron@gmail.com>
Sun, 27 Apr 2008 20:37:58 +0000 (20:37 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Sun, 27 Apr 2008 20:37:58 +0000 (20:37 +0000)
src/event.js

index 5b77e8c51e262b5170e3bd036217cb258f81c9f3..75d231cdc883aee6594709ec89ec5dcbd44ea684 100644 (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;