forked from MarseyWorld/MarseyWorld
allow multiple submission of form
parent
8f6552b1d5
commit
1ab3c827f0
|
@ -350,6 +350,8 @@ function sendFormXHR(form, extraActionsOnSuccess) {
|
|||
window.onbeforeunload = null;
|
||||
extraActionsOnSuccess(xhr);
|
||||
}
|
||||
|
||||
form.classList.remove('is-submitting');
|
||||
};
|
||||
|
||||
xhr.send(formData);
|
||||
|
|
Loading…
Reference in New Issue