Commit ea33dbf3 authored by José Rômulo's avatar José Rômulo
Browse files

Removendo variavel contador

parent 5d8321f6
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
}else{ }else{
parts.removeChild(e.parentElement.parentElement); parts.removeChild(e.parentElement.parentElement);
contador--; //contador--;
} }
} }
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
cln.children[2].firstElementChild.setAttribute('id', id + contador); cln.children[2].firstElementChild.setAttribute('id', id + contador);
cln.children[0].firstElementChild.setAttribute('href', "#collapseParticipante" + contador); cln.children[0].firstElementChild.setAttribute('href', "#collapseParticipante" + contador);
cln.children[0].firstElementChild.setAttribute('id', id2 + contador); cln.children[0].firstElementChild.setAttribute('id', id2 + contador);
for (i = 0; i < cln.children.length; i++) { for (i = 0; i < cln.children.length; i++) {
for (let index = 0; index < cln.children[i].querySelectorAll('input').length; index++) { for (let index = 0; index < cln.children[i].querySelectorAll('input').length; index++) {
let input = cln.children[i].querySelectorAll('input')[index]; let input = cln.children[i].querySelectorAll('input')[index];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment