Commit ab774518 authored by John Resig's avatar John Resig

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

parent f1f6bc3e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment