Skip to content

Commit

Permalink
Merge pull request #1714 from cisagov/rh/1500-cleanup
Browse files Browse the repository at this point in the history
ISSUE 1500: get-gov.js clean up
  • Loading branch information
therealslimhsiehdy authored Jan 30, 2024
2 parents 057770c + 6f5a1cf commit a9f522d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/registrar/assets/js/get-gov.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ function validateFormsetInputs(e, availabilityButton) {

// Run validators for each input
inputs.forEach(input => {
runValidators(input);
removeFormErrors(input, true);
runValidators(input);
});

// Set the validate-for attribute on the button with the collected input IDs
Expand Down
1 change: 0 additions & 1 deletion src/registrar/templates/application_dotgov_domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ <h2>What .gov domain do you want?</h2>
{% endwith %}
{% endwith %}
<button
id="check-availability-button"
type="button"
class="usa-button usa-button--outline"
validate-for="{{ forms.0.requested_domain.auto_id }}"
Expand Down

0 comments on commit a9f522d

Please sign in to comment.