diff options
Diffstat (limited to 'static/functions/recommend.js')
-rw-r--r-- | static/functions/recommend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/functions/recommend.js b/static/functions/recommend.js index 7ef6226..b11e2b0 100644 --- a/static/functions/recommend.js +++ b/static/functions/recommend.js @@ -42,7 +42,7 @@ $("#recommendation_note").keypress(function(e) { state = $("#send_recommendation").attr("disabled"); if (typeof state === 'undefined' && e.keyCode == 13) - { + { e.preventDefault(); send_recommendation(); } |