mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Simulate: fixed charCode to be undefined unless specified. Fixed #3229 - Safari: jQuery.simulate() doesn't set "which" field for key events
(cherry picked from commit b90d83c6c4
)
This commit is contained in:
parent
aa9ca2ba84
commit
2e1da90608
@ -90,7 +90,7 @@ $.extend( $.simulate.prototype, {
|
|||||||
shiftKey: false,
|
shiftKey: false,
|
||||||
metaKey: false,
|
metaKey: false,
|
||||||
keyCode: 0,
|
keyCode: 0,
|
||||||
charCode: 0
|
charCode: undefined
|
||||||
}, options );
|
}, options );
|
||||||
|
|
||||||
if ( $.isFunction( document.createEvent ) ) {
|
if ( $.isFunction( document.createEvent ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user