diff --git a/js/localState.js b/js/localState.js index 18513c2..bcf5955 100644 --- a/js/localState.js +++ b/js/localState.js @@ -79,7 +79,7 @@ document.addEventListener("alpine:init", () => { } case 3: { this.time = - ((new Date().getTime() - this.startedAt) / 1000).toFixed(2) * 1000; + parseInt(((new Date().getTime() - this.startedAt) / 1000).toFixed(2) * 1000); this.startedAt = null; sayNumber(this.time / 10);