mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
enable addbutton when conditions are right (instead of show)
This commit is contained in:
parent
8b2ea986b1
commit
4c67745869
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ function prepareDeleteButtons(formLabel) {
|
|||
|
||||
// Display the add more button if we have less than 13 forms
|
||||
if (isNameserversForm && forms.length <= 13) {
|
||||
addButton.classList.remove("display-none");
|
||||
addButton.classList.removeAttribute("disabled");
|
||||
}
|
||||
|
||||
if (isNameserversForm && forms.length < 3) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue