diff --git a/public_html/static/script/script.js b/public_html/static/script/script.js index f209695..a45a890 100644 --- a/public_html/static/script/script.js +++ b/public_html/static/script/script.js @@ -54,7 +54,10 @@ $(function(){ } }); - $('button[type=submit]').mousedown(function(){ - $(this).closest('form').submit(); + $('button[type=submit]').mousedown(function(event){ + if(event.which == 1) + { + $(this).closest('form').submit(); + } }); });