Commit 58f338e5e9ecd4100a8dfcf338a0f535101ab7b6

Authored by Miguel Barão
1 parent d292c5a3
Exists in master and in 1 other branch dev

- add js preventing the submission using the enter key...

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
static/js/prevent_enter_submit.js 0 → 100644
@@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
  1 +$(document).ready(function() {
  2 + $("form input").on("keypress", function(e) {
  3 + return e.which != 13;
  4 + });
  5 +});