diff options
author | Sai Wong <sai.wong@huffingtonpost.com> | 2012-10-20 10:01:31 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-10-20 10:07:01 -0400 |
commit | 5228f0a61843db2bc93ff441ea748aa5e0ce08f4 (patch) | |
tree | f7e76dd33af7e138b200c18334ee7be58511233c /src/event.js | |
parent | b5084b4bf29a2e517b90d5e7d82ed17c94a71d94 (diff) | |
download | jquery-5228f0a61843db2bc93ff441ea748aa5e0ce08f4.tar.gz jquery-5228f0a61843db2bc93ff441ea748aa5e0ce08f4.zip |
Fix #12610, remove unneeded window.event. Close gh-968.
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js index 299f71615..f3335a074 100644 --- a/src/event.js +++ b/src/event.js @@ -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 ] || []), |