diff --git a/public/campaign-form.js b/public/campaign-form.js index 70c08ca..1bf8783 100644 --- a/public/campaign-form.js +++ b/public/campaign-form.js @@ -73,8 +73,8 @@ const postScriptLoad = function () { if (typeof errors.error !== 'undefined') form.parents('.campaign-form').find('.alert-danger').removeClass('hidden') // show errors from rails - campaignForms[formId].validator.showErrors(errors) campaignForms[formId].formSubmitted = false + campaignForms[formId].validator.showErrors(errors) } }) }