diff options
Diffstat (limited to 'scripts/robot.js')
| -rw-r--r-- | scripts/robot.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/robot.js b/scripts/robot.js index d0c7ef8b..5ffbebcd 100644 --- a/scripts/robot.js +++ b/scripts/robot.js @@ -54,7 +54,10 @@ function Robot(){ window.setTimeout( Robot, 50/speed+Math.round(Math.random()*100/speed) ); } }else{ - $('#textanalyser').trigger("submit"); + var e = jQuery.Event("keypress"); + e.which = 13; + e.keyCode = 13; + $("#textanalyser").trigger(e); window.setTimeout( Robot, 650/speed ); } }else{ |
