aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard D. Worth <rdworth@gmail.com>2011-11-07 15:49:20 -0500
committerRichard D. Worth <rdworth@gmail.com>2011-11-07 15:49:20 -0500
commitb90d83c6c4e3f5e328d5557aa35ce9fbded6fd0f (patch)
tree180e30d787e2868ac0afed6a6cc4d0c83a52c33b
parent8fd6101c3c330be347b50f4e659161d739513162 (diff)
downloadjquery-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
-rw-r--r--tests/jquery.simulate.js2
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 ) ) {