fix JS bug where classList.removeAttribute

This commit is contained in:
Rachid Mrad 2023-10-30 19:31:53 -04:00
parent 4c67745869
commit c82b870d16
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF

View file

@ -309,7 +309,8 @@ function prepareDeleteButtons(formLabel) {
// Display the add more button if we have less than 13 forms // Display the add more button if we have less than 13 forms
if (isNameserversForm && forms.length <= 13) { if (isNameserversForm && forms.length <= 13) {
addButton.classList.removeAttribute("disabled"); console.log('remove disabled');
addButton.removeAttribute("disabled");
} }
if (isNameserversForm && forms.length < 3) { if (isNameserversForm && forms.length < 3) {