one line js fix

pull/1/head
eric 2013-03-08 18:33:10 -05:00
parent 861d8355b3
commit e757eae0a3
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ function stripeResponseHandler(status, response) {
if (response.error) {
// re-enable the submit button
$j('.submit-button').removeAttr("disabled");
// stop the spinny thing
$j('.submit-button').removeClass("show-loading");
// show the errors on the form
$j(".payment-errors").html(response.error.message).show();
} else {