Correction
continuous-integration/drone/push Build is failing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent faaf971661
commit 988828a3c6

@ -90,16 +90,16 @@
xhr.onload = function () { xhr.onload = function () {
var players = JSON.parse(xhr.responseText); var players = JSON.parse(xhr.responseText);
if (players[0] != null) { if (players[0] != null) {
document.getElementById(player1)[0].innerHTML = players[0].pseudo; document.getElementById(player1)[0].innerHTML = players[0];
} }
if (players[1] != null) { if (players[1] != null) {
document.getElementById(player2)[0].innerHTML = players[1].pseudo; document.getElementById(player2)[0].innerHTML = players[1];
} }
if (players[2] != null) { if (players[2] != null) {
document.getElementById(player3)[0].innerHTML = players[2].pseudo; document.getElementById(player3)[0].innerHTML = players[2];
} }
if (players[3] != null) { if (players[3] != null) {
document.getElementById(player4)[0].innerHTML = players[3].pseudo; document.getElementById(player4)[0].innerHTML = players[3];
} }
}; };
xhr.send(null); xhr.send(null);

Loading…
Cancel
Save