When javascript is disabled, hide the song activity once it ends
This commit is contained in:
parent
6b3fa918a1
commit
14940834c1
3 changed files with 25 additions and 7 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue