mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix mis-type in commit e3c4e57897
. Thanks to @jdalton for the catch.
This commit is contained in:
parent
f1f6bc3ec4
commit
ab77451843
@ -470,7 +470,7 @@ jQuery.event = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add which for key events
|
// 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;
|
event.which = event.charCode != null ? event.charCode : event.keyCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user