mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 07:52:15 +02:00
Add back id
This commit is contained in:
parent
3d7c651c72
commit
8b6d2ea2c7
2 changed files with 5 additions and 8 deletions
|
@ -245,13 +245,10 @@ function handleValidationClick(e) {
|
|||
const alternateDomainsInputs = document.querySelectorAll('[auto-validate]');
|
||||
if (alternateDomainsInputs) {
|
||||
for (const domainInput of alternateDomainsInputs){
|
||||
// Only apply this logic to alternate domains input
|
||||
if (domainInput.classList.contains('alternate-domain-input')){
|
||||
domainInput.addEventListener('input', function() {
|
||||
removeFormErrors(domainInput, true);
|
||||
}
|
||||
);
|
||||
}
|
||||
domainInput.addEventListener('input', function() {
|
||||
removeFormErrors(domainInput, true);
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
||||
<button type="submit" name="submit_button" value="save" class="usa-button usa-button--unstyled">
|
||||
<button id="check-availability-button" type="submit" name="submit_button" value="save" class="usa-button usa-button--unstyled">
|
||||
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
||||
<use xlink:href="{%static 'img/sprite.svg'%}#add_circle"></use>
|
||||
</svg><span class="margin-left-05">Add another alternative</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue