Fixed event propagation on safari

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-03-07 17:10:46 +01:00
parent e1ec4514cc
commit 3ef4131533
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 3 additions and 1 deletions

View File

@ -172,7 +172,9 @@
} }
}); });
$submit.click(function(){ $submit.click(function(event) {
event.stopPropagation();
event.preventDefault();
$form.submit(); $form.submit();
}); });