format core

This commit is contained in:
samaradel
2024-03-13 00:25:06 +02:00
parent c8d3c341c7
commit bfd27bc27d

View File

@@ -183,7 +183,9 @@ function formatStatsData(stats) {
document.getElementById("capacity").innerHTML = stats.capacity; document.getElementById("capacity").innerHTML = stats.capacity;
document.getElementById("nodes").innerHTML = stats.nodes; document.getElementById("nodes").innerHTML = stats.nodes;
document.getElementById("countries").innerHTML = stats.countries; document.getElementById("countries").innerHTML = stats.countries;
document.getElementById("cores").innerHTML = stats.cores; document.getElementById("cores").innerHTML = stats.cores
.toString()
.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
} }
readingTime(); readingTime();