diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-02 08:58:28 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-02 08:58:28 +0200 |
| commit | 63efa0a64cde9df075a137526da483ebce7a13e4 (patch) | |
| tree | ea33548587adedaa3f098670be6aaf824bf4983f /web/client.html | |
| parent | 098390401c30ccd206f45d828b50046080906e85 (diff) | |
| download | WRMS-63efa0a64cde9df075a137526da483ebce7a13e4.tar.gz WRMS-63efa0a64cde9df075a137526da483ebce7a13e4.zip | |
remove vote info when song is played
This fixes a bug where songs added a second time have bugged vote
controls.
Diffstat (limited to 'web/client.html')
| -rw-r--r-- | web/client.html | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |
