mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
Shorten tag name
This commit is contained in:
parent
a334c4676b
commit
fd53cc9241
2 changed files with 3 additions and 3 deletions
|
@ -218,7 +218,7 @@ function handleValidationClick(e) {
|
|||
function handleFormsetValidationClick(e) {
|
||||
// Check availability for alternative domains
|
||||
|
||||
const alternativeDomainsAvailability = document.getElementById('check-availability-for-alternative-domains');
|
||||
const alternativeDomainsAvailability = document.getElementById('check-avail-for-alt-domains');
|
||||
|
||||
// Collect input IDs from the repeatable forms
|
||||
let inputIds = Array.from(document.querySelectorAll('.repeatable-form input')).map(input => input.id);
|
||||
|
@ -253,7 +253,7 @@ function handleFormsetValidationClick(e) {
|
|||
for(const input of needsValidation) {
|
||||
input.addEventListener('input', handleInputValidation);
|
||||
}
|
||||
const alternativeDomainsAvailability = document.getElementById('check-availability-for-alternative-domains');
|
||||
const alternativeDomainsAvailability = document.getElementById('check-avail-for-alt-domains');
|
||||
const activatesValidation = document.querySelectorAll('[validate-for]');
|
||||
|
||||
for(const button of activatesValidation) {
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
|
||||
<div class="margin-bottom-3">
|
||||
<button
|
||||
id="check-availability-for-alternative-domains"
|
||||
id="check-avail-for-alt-domains"
|
||||
type="button"
|
||||
class="usa-button usa-button--outline"
|
||||
>Check availability</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue