diff --git a/static/math.js b/static/math.js index 8a577ae..f49a1c1 100644 --- a/static/math.js +++ b/static/math.js @@ -36,7 +36,7 @@ function deal_with_answer(e) { $(function() { new_problem(); $("#answer").keypress(function(e) { - if( e.which == 13) { + if (e.which == 13 || e.which == 32) { deal_with_answer(e); } });