Set inner text for clearing stats
This commit is contained in:
@@ -194,7 +194,7 @@
|
|||||||
function setUI() {
|
function setUI() {
|
||||||
if (ready) {
|
if (ready) {
|
||||||
if (state == -1) {
|
if (state == -1) {
|
||||||
document.getElementById('stats').textCotnent = "";
|
document.getElementById('stats').innerText = "";
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const differenceMs = 30 * 60 * 1000 - Math.abs(start_time.getTime() - now.getTime());
|
const differenceMs = 30 * 60 * 1000 - Math.abs(start_time.getTime() - now.getTime());
|
||||||
const totalSeconds = Math.floor(differenceMs / 1000);
|
const totalSeconds = Math.floor(differenceMs / 1000);
|
||||||
|
|||||||
Reference in New Issue
Block a user