]> source.dussan.org Git - jquery-ui.git/commitdiff
Simulate: fixed charCode to be undefined unless specified. Fixed #3229 - Safari:...
authorRichard D. Worth <rdworth@gmail.com>
Mon, 7 Nov 2011 20:49:20 +0000 (15:49 -0500)
committerRichard D. Worth <rdworth@gmail.com>
Mon, 7 Nov 2011 20:49:20 +0000 (15:49 -0500)
tests/jquery.simulate.js

index adc340049fd7efbaf153bfbf0a87db750f254712..a37302c46c967f9fc4d3c9d84aa5e14b9faaa9f6 100644 (file)
@@ -90,7 +90,7 @@ $.extend( $.simulate.prototype, {
                        shiftKey: false,
                        metaKey: false,
                        keyCode: 0,
-                       charCode: 0
+                       charCode: undefined
                }, options );
 
                if ( $.isFunction( document.createEvent ) ) {