Fixed event propagation on safari
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
e1ec4514cc
commit
3ef4131533
|
@ -172,7 +172,9 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$submit.click(function(){
|
$submit.click(function(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
event.preventDefault();
|
||||||
$form.submit();
|
$form.submit();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue