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