chépakoi
This commit is contained in:
parent
5b0f9ef87b
commit
d073763440
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue