Fix for Braintree
This commit is contained in:
parent
4dfd720138
commit
4cbed2e1c5
1 changed files with 0 additions and 5 deletions
|
|
@ -57,11 +57,6 @@
|
|||
}
|
||||
},
|
||||
onPaymentMethodReceived: function(e) {
|
||||
if (NINJA.formIsSubmitted) {
|
||||
return false;
|
||||
}
|
||||
NINJA.formIsSubmitted = true;
|
||||
|
||||
// Disable the submit button to prevent repeated clicks
|
||||
$form.find('button').prop('disabled', true);
|
||||
$('#js-error-message').hide();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue