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 5228f0a61843db2bc93ff441ea748aa5e0ce08f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
View
@@ -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.