Skip to content
Permalink
Browse files

Fix mis-type in commit e3c4e57. Thanks to @jdalton for the catch.

  • Loading branch information
jeresig committed Sep 29, 2010
1 parent f1f6bc3 commit ab77451843e07dd57101e933b5b6c093b024d8eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit ab77451

Please sign in to comment.
You can’t perform that action at this time.