From 63efa0a64cde9df075a137526da483ebce7a13e4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 2 Jul 2023 08:58:28 +0200 Subject: remove vote info when song is played This fixes a bug where songs added a second time have bugged vote controls. --- web/client.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/client.html') diff --git a/web/client.html b/web/client.html index a95bbb7..a6052f2 100644 --- a/web/client.html +++ b/web/client.html @@ -218,6 +218,8 @@ renderPlaylist(); } + votes.delete(currentSong.uri); + const songLabel = document.createTextNode(formatSong(currentSong)); playing = document.getElementById("playing"); -- cgit v1.2.3