Commit 9f50bed3 authored by Carlos André's avatar Carlos André
Browse files

Merge branch 'master' of https://github.com/lmts-ufape/submeta into master

parents 13ac2a80 d3d34393
......@@ -490,11 +490,12 @@
contador++;
var cln = participante.cloneNode(true);
cln.setAttribute('style', " ");
console.log(cln.children)
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[1].firstElementChild.setAttribute('href', "#collapseParticipante" + contador);
cln.children[1].firstElementChild.setAttribute('id', id2 + contador);
cln.children[0].firstElementChild.setAttribute('href', "#collapseParticipante" + contador);
cln.children[0].firstElementChild.setAttribute('id', id2 + contador);
// console.log(cln.style.display = 'block')
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