mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 19:48:36 +02:00
fix JS bug where classList.removeAttribute
This commit is contained in:
parent
4c67745869
commit
c82b870d16
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ function prepareDeleteButtons(formLabel) {
|
|||
|
||||
// Display the add more button if we have less than 13 forms
|
||||
if (isNameserversForm && forms.length <= 13) {
|
||||
addButton.classList.removeAttribute("disabled");
|
||||
console.log('remove disabled');
|
||||
addButton.removeAttribute("disabled");
|
||||
}
|
||||
|
||||
if (isNameserversForm && forms.length < 3) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue