8000 Simulate: fixed charCode to be undefined unless specified. Fixed #322… · netconstructor/jquery-ui@b90d83c · GitHub
[go: up one dir, main page]

Skip to content

Commit b90d83c

Browse files
committed
Simulate: fixed charCode to be undefined unless specified. Fixed #3229 - Safari: jQuery.simulate() doesn't set "which" field for key events
1 parent 8fd6101 commit b90d83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/jquery.simulate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ $.extend( $.simulate.prototype, {
9090
shiftKey: false,
9191
metaKey: false,
9292
keyCode: 0,
93-
charCode: 0
93+
charCode: undefined
9494
}, options );
9595

9696
if ( 389A $.isFunction( document.createEvent ) ) {

0 commit comments

Comments
 (0)
0