When javascript is disabled, hide the song activity once it ends

This commit is contained in:
bingus_violet 2024-11-28 18:23:31 -06:00
parent 6b3fa918a1
commit 14940834c1
3 changed files with 25 additions and 7 deletions

View file

@ -68,6 +68,7 @@ function socketeer() {
var discFetch = await (await fetch("/discHTML")).text()
$("#activityHtml").html(discFetch)
$(".activity").css("animation-name", "none")
} else if (data.op == 3) {
lastPong = Date.now()
} else {

View file

@ -363,4 +363,14 @@ underline {
.durationBarStuff > p {
font-size: 1.15rem;
padding: 0 4px;
}
@keyframes hide {
to {
flex: 0 0 0%;
height: 0px;
position: fixed;
visibility: hidden;
display: none;
}
}