From e98811546b99bb776f908b75f2c4d07285a2e7c0 Mon Sep 17 00:00:00 2001 From: nin0 Date: Mon, 21 Apr 2025 08:18:06 -0400 Subject: [PATCH] implement "someone is on the website and i pause my song" --- src/components/windows/main/SpotifyCard.astro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/windows/main/SpotifyCard.astro b/src/components/windows/main/SpotifyCard.astro index 4f26c15..2b8081b 100644 --- a/src/components/windows/main/SpotifyCard.astro +++ b/src/components/windows/main/SpotifyCard.astro @@ -198,6 +198,8 @@ import LastFMIcon from "@assets/svg/fm.svg"; (document.querySelector(".lastfm-link") as HTMLLinkElement).href = track.url; + } else { + spotifyCardWrapper.style = ""; } }