Set inner text for clearing stats
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user