Fix: nicer fix

This commit is contained in:
Dorian Zedler 2023-02-09 14:06:50 +01:00
parent 233f3e88c2
commit cc99fdfe0c
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -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);