Skip to content
Permalink
Browse files
Fix #12610, remove unneeded window.event. Close gh-968.
  • Loading branch information
Sai Wong authored and dmethvin committed Oct 20, 2012
1 parent b5084b4 commit 5228f0a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -355,7 +355,7 @@ jQuery.event = {
dispatch: function( event ) {

// Make a writable jQuery.Event from the native event object
event = jQuery.event.fix( event || window.event );
event = jQuery.event.fix( event );

var i, j, cur, ret, selMatch, matched, matches, handleObj, sel,
handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []),

0 comments on commit 5228f0a

Please sign in to comment.