From df49e37654b32e5d675b8541c5057dd54489bad2 Mon Sep 17 00:00:00 2001 From: Violet Date: Fri, 19 Apr 2024 16:14:09 +0000 Subject: [PATCH] Spin count --- static/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/main.js b/static/main.js index d86213e..33be5a7 100644 --- a/static/main.js +++ b/static/main.js @@ -9,9 +9,10 @@ function notif(text) { } function secondLoop() { + var pfp = document.querySelector(".pfp") if (!catsOnMars.paused) { spins += 0.5 - document.querySelector(".spinnyCount").innerHTML = `You have spun Violet ${Math.floor(spins)} times!` + document.querySelector(".spinnyCount").innerHTML = `You have spun Violet ${Math.floor(spins)} times!` + pfp.style.animationDuration } setTimeout(() => {