mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
cleanup
This commit is contained in:
parent
2817703021
commit
85bc9c272e
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ function toggleTwoDomElements(ele1, ele2, index) {
|
|||
let forms = document.querySelectorAll(".repeatable-form");
|
||||
if (forms.length < 3) {
|
||||
// Hide the delete buttons on the 2 nameservers
|
||||
forms.forEach((form, index) => {
|
||||
forms.forEach((form) => {
|
||||
Array.from(form.querySelectorAll('.delete-record')).forEach((deleteButton) => {
|
||||
deleteButton.setAttribute("disabled", "true");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue