aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ) ) {