From a315477b92d2c6f96c5b4d2b25e2447f250f9682 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 1 Aug 2022 22:51:38 +0200 Subject: add and handle stop event --- web/client.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web') diff --git a/web/client.html b/web/client.html index 9998940..20a53ed 100644 --- a/web/client.html +++ b/web/client.html @@ -166,6 +166,11 @@ document.getElementById("ppbutton").innerHTML = 'Play'; } + function handleStop() { + document.getElementById("ppbutton").innerHTML = 'Play'; + playing = document.getElementById("playing").innerHTML = ""; + } + function handlePlay(currentSong) { document.getElementById("ppbutton").innerHTML = 'Pause'; -- cgit v1.2.3