From ab77451843e07dd57101e933b5b6c093b024d8eb Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 28 Sep 2010 20:13:40 -0700 Subject: [PATCH] Fix mis-type in commit e3c4e5789743eecb3cbe2b626f3a5f09c616ee4b. Thanks to @jdalton for the catch. --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 1.7.10.4