mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 03:06:01 +02:00
update IIFE definition
This commit is contained in:
parent
0a17f396cb
commit
2817703021
1 changed files with 2 additions and 2 deletions
|
@ -767,10 +767,10 @@ function toggleTwoDomElements(ele1, ele2, index) {
|
|||
})();
|
||||
|
||||
/**
|
||||
* An IIFE that listens to the other contacts radio form on DAs and toggles the contacts/no other contacts forms
|
||||
* An IIFE that disables the delete buttons on nameserver forms on page load if < 3 forms
|
||||
*
|
||||
*/
|
||||
(function otherContactsFormListener() {
|
||||
(function nameserversFormListener() {
|
||||
let isNameserversForm = document.querySelector(".nameservers-form");
|
||||
if (isNameserversForm) {
|
||||
let forms = document.querySelectorAll(".repeatable-form");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue