diff options
author | Richard D. Worth <rdworth@gmail.com> | 2011-11-07 15:49:20 -0500 |
---|---|---|
committer | Richard D. Worth <rdworth@gmail.com> | 2011-11-07 15:49:20 -0500 |
commit | b90d83c6c4e3f5e328d5557aa35ce9fbded6fd0f (patch) | |
tree | 180e30d787e2868ac0afed6a6cc4d0c83a52c33b /tests | |
parent | 8fd6101c3c330be347b50f4e659161d739513162 (diff) | |
download | jquery-ui-b90d83c6c4e3f5e328d5557aa35ce9fbded6fd0f.tar.gz jquery-ui-b90d83c6c4e3f5e328d5557aa35ce9fbded6fd0f.zip |
Simulate: fixed charCode to be undefined unless specified. Fixed #3229 - Safari: jQuery.simulate() doesn't set "which" field for key events
Diffstat (limited to 'tests')
-rw-r--r-- | tests/jquery.simulate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jquery.simulate.js b/tests/jquery.simulate.js index adc340049..a37302c46 100644 --- a/tests/jquery.simulate.js +++ b/tests/jquery.simulate.js @@ -90,7 +90,7 @@ $.extend( $.simulate.prototype, { shiftKey: false, metaKey: false, keyCode: 0, - charCode: 0 + charCode: undefined }, options ); if ( $.isFunction( document.createEvent ) ) { |