diff options
author | John Resig <jeresig@gmail.com> | 2010-09-28 20:13:40 -0700 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-09-28 20:13:40 -0700 |
commit | ab77451843e07dd57101e933b5b6c093b024d8eb (patch) | |
tree | 850a7c9de4c41837f3015eb746b500c8c7b90f86 | |
parent | f1f6bc3ec43d86f5b2a0c2b8bf711a2d35930717 (diff) | |
download | jquery-ab77451843e07dd57101e933b5b6c093b024d8eb.tar.gz jquery-ab77451843e07dd57101e933b5b6c093b024d8eb.zip |
Fix mis-type in commit e3c4e5789743eecb3cbe2b626f3a5f09c616ee4b. Thanks to @jdalton for the catch.
-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 00bef8472..dcb872a73 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; } |