From: John Resig Date: Wed, 29 Sep 2010 03:13:40 +0000 (-0700) Subject: Fix mis-type in commit e3c4e5789743eecb3cbe2b626f3a5f09c616ee4b. Thanks to @jdalton... X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;ds=sidebyside;h=ab77451843e07dd57101e933b5b6c093b024d8eb;p=jquery.git Fix mis-type in commit e3c4e5789743eecb3cbe2b626f3a5f09c616ee4b. Thanks to @jdalton for the catch. --- diff --git a/src/event.js b/src/event.js index 00bef84..dcb872a 100644 --- a/src/event.js +++ b/src/event.js @@ -470,7 +470,7 @@ jQuery.event = { } // Add which for key events - if ( event.which == null && (event.charCode != null || event.charCode != null) ) { + if ( event.which == null && (event.charCode != null || event.keyCode != null) ) { event.which = event.charCode != null ? event.charCode : event.keyCode; }