chépakoi

This commit is contained in:
gdamms 2022-05-20 15:12:23 +02:00
parent 5b0f9ef87b
commit d073763440

View file

@ -24,7 +24,7 @@ function setPixels(pixelsJSON) {
row.innerHTML += row.innerHTML +=
'<td class="pixel" style="background:#' + pixel.color + '">' + '<td class="pixel" style="background:#' + pixel.color + '">' +
'<div class="info-pixel">' + '<div class="info-pixel">' +
'<div class="username">' + pixel.owner + '</div>' + '<div class="username">' + pixel.owner_username + '</div>' +
'<div class="description">' + pixel.description + '</div>' + '<div class="description">' + pixel.description + '</div>' +
'</div>' + '</div>' +
'<div class="patch-shadow"></div>' + '<div class="patch-shadow"></div>' +
@ -40,4 +40,4 @@ const updatePixels = async () => {
} }
updatePixels(); updatePixels();
setInterval(updatePixels, 2000); setInterval(updatePixels, 10000);