diff --git a/traditional-bootstrap/resources/assets/js/contact.js b/traditional-bootstrap/resources/assets/js/contact.js index 8e1452d..3b1069b 100644 --- a/traditional-bootstrap/resources/assets/js/contact.js +++ b/traditional-bootstrap/resources/assets/js/contact.js @@ -47,7 +47,7 @@ function contactFormInit() { } else { errors = 0; - // add the error class to fields that haven't been filled out + // add the error class to fields that haven't been filled correctly for (let errorName in response.responseJSON.errors) { if ($form.find(`[name='${errorName}']`).length) { $form.find(`[name='${errorName}']`).addClass("error"); diff --git a/traditional-bootstrap/resources/assets/js/subscription.js b/traditional-bootstrap/resources/assets/js/subscription.js index 0ca0f6a..2dbc7d0 100644 --- a/traditional-bootstrap/resources/assets/js/subscription.js +++ b/traditional-bootstrap/resources/assets/js/subscription.js @@ -46,7 +46,7 @@ function subscriptionFormInit() { } else { errors = 0; - // add the error class to fields that haven't been filled out + // add the error class to fields that haven't been filled correctly for (let errorName in response.responseJSON.errors) { if ($form.find(`[name='${errorName}']`).length) { $form.find(`[name='${errorName}']`).addClass("error");