Commit 6712eb4f authored by Gabriel-31415's avatar Gabriel-31415
Browse files

ajuste

parent 16f4be21
......@@ -450,7 +450,7 @@
buttonMais.addEventListener("click", (e) => {
// console.log("{{ $edital->numParticipantes }}")
if(parts.children.length - 1 >= "{{ $edital->numParticipantes }}"){
if(parts.children.length >= "{{ $edital->numParticipantes }}"){
alert('Limite de participante.')
}else{
var cln = participante.cloneNode(true);
......@@ -461,7 +461,7 @@
let input = cln.children[i].querySelectorAll('input')[index];
let name = input.getAttributeNode("name").value;
input.getAttributeNode("name").value = name + '[' + contador + ']';
input.getAttributeNode("disabled").value = " ";
// input.getAttributeNode("disabled").value = " ";
let select = cln.children[i].querySelectorAll('select')[index];
if(select){
let selectName = select.getAttributeNode("name").value;
......
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