aboutsummaryrefslogtreecommitdiff
path: root/client/js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-10-14 08:53:02 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-10-14 08:53:02 +0300
commit9bab3e36d34ce9068121fcf3f00efe66b5eca851 (patch)
tree48820bdacaed4baf30a4233b00a9166c5cee6074 /client/js
parent5553fb4e454a71368aa4a10a1799cdc2f7109ece (diff)
downloadarching-kaos-radio-9bab3e36d34ce9068121fcf3f00efe66b5eca851.tar.gz
arching-kaos-radio-9bab3e36d34ce9068121fcf3f00efe66b5eca851.tar.bz2
arching-kaos-radio-9bab3e36d34ce9068121fcf3f00efe66b5eca851.zip
Fixed bug that would jump to second_here when loading a new show
Diffstat (limited to 'client/js')
-rw-r--r--client/js/radio_emulator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/js/radio_emulator.js b/client/js/radio_emulator.js
index 627f057..38f901a 100644
--- a/client/js/radio_emulator.js
+++ b/client/js/radio_emulator.js
@@ -194,6 +194,7 @@ function loadShowCallback(json, params)
placeholders.currentTime.innerText = values.current_time;
audioElement.addEventListener('ended', function(){
values.current_time = 0;
+ values.seconds_here = 0;
placeholders.currentTime.value = 0;
FetchJSON(`${listRequest}`, hashCallback, [ new Date().getTime() ]);
// setTimeout(sync_radio, 10000);