those should be spans

This commit is contained in:
catvayor 2023-06-16 21:17:58 +02:00
parent 8ad2b18413
commit 2648f0d4b9

View file

@ -112,12 +112,12 @@
row += `<td><input type="checkbox" row += `<td><input type="checkbox"
id="${id}.tracker" id="${id}.tracker"
onchange="sendUpdate('${id}')" /></td>` onchange="sendUpdate('${id}')" /></td>`
row += `<td><div id="${id}.code.invisi"></div> row += `<td><span id="${id}.code.invisi"></span>
<button onclick="socket.emit('newCode', {id:'${id}', code:'invisibility'})"> <button onclick="socket.emit('newCode', {id:'${id}', code:'invisibility'})">
Add Add
</button> </button>
</td>`; </td>`;
row += `<td><div id="${id}.code.blurred"></div> row += `<td><span id="${id}.code.blurred"></span>
<button onclick="socket.emit('newCode', {id:'${id}', code:'blurred'})"> <button onclick="socket.emit('newCode', {id:'${id}', code:'blurred'})">
Add Add
</button> </button>
@ -125,7 +125,7 @@
row += `<td><input type="number" min=0 max=3 style="width: 40px" row += `<td><input type="number" min=0 max=3 style="width: 40px"
id="${id}.npc" id="${id}.npc"
onchange="sendUpdate('${id}')" /></td>` onchange="sendUpdate('${id}')" /></td>`
row += `<td id="${id}.time"></td>` row += `<td><span id="${id}.time"></span></td>`
info_table.innerHTML += `<tr>${row}</tr>` info_table.innerHTML += `<tr>${row}</tr>`
for(i in equipes){ for(i in equipes){
var equipe = equipes[i]; var equipe = equipes[i];