Skip to content
Snippets Groups Projects
Commit 0e383545 authored by Eran's avatar Eran
Browse files

Remove unused selector for submit button

parent 9f840628
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,6 @@
// Response from Stripe.createToken.
function stripeResponseHandler(status, response) {
var submitButton = $("form.stripe-payment-form input[type='submit']:last");
if (response.error) {
$('html, body').animate({scrollTop: 0}, 300);
// Show the errors on the form.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment