Fix: strange numbers

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

View file

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