Set inner text for clearing stats

This commit is contained in:
0880
2026-01-21 02:10:56 +03:30
parent 1d5b449d6d
commit 6ee7a435e0

View File

@@ -194,7 +194,7 @@
function setUI() {
if (ready) {
if (state == -1) {
document.getElementById('stats').textCotnent = "";
document.getElementById('stats').innerText = "";
const now = new Date();
const differenceMs = 30 * 60 * 1000 - Math.abs(start_time.getTime() - now.getTime());
const totalSeconds = Math.floor(differenceMs / 1000);