Log
This commit is contained in:
parent
722777d348
commit
4c6a4ade5b
@ -1027,6 +1027,7 @@ class FormMail extends Form
|
||||
$out .= ' $(document).on("keypress", \'#mailform\', function (e) { /* Note this is called at every key pressed ! */
|
||||
var code = e.keyCode || e.which;
|
||||
if (code == 13) {
|
||||
console.log("Enter was intercepted and blocked");
|
||||
e.preventDefault();
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user