Commit d2e7d60f authored by Gabriel-31415's avatar Gabriel-31415
Browse files

ajuste

parent 690741dd
...@@ -298,11 +298,12 @@ ...@@ -298,11 +298,12 @@
contador++; contador++;
var cln = participante.cloneNode(true); var cln = participante.cloneNode(true);
cln.setAttribute('style', " "); cln.setAttribute('style', " ");
console.log(cln.children)
var id = cln.children[2].firstElementChild.id; var id = cln.children[2].firstElementChild.id;
var id2 = cln.children[1].firstElementChild.id; var id2 = cln.children[0].firstElementChild.id;
cln.children[2].firstElementChild.setAttribute('id', id + contador); cln.children[2].firstElementChild.setAttribute('id', id + contador);
cln.children[1].firstElementChild.setAttribute('href', "#collapseParticipante" + contador); cln.children[0].firstElementChild.setAttribute('href', "#collapseParticipante" + contador);
cln.children[1].firstElementChild.setAttribute('id', id2 + contador); cln.children[0].firstElementChild.setAttribute('id', id2 + contador);
// console.log(cln.style.display = 'block') // console.log(cln.style.display = 'block')
for (i = 0; i < cln.children.length; i++) { for (i = 0; i < cln.children.length; i++) {
......
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