From 866eb9c6f8b145b065e47a8e47e9a79df386f5a4 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 14 Oct 2024 04:32:45 +0300 Subject: Bugfix --- client/js/radio_emulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/radio_emulator.js b/client/js/radio_emulator.js index aafed52..6855fe7 100644 --- a/client/js/radio_emulator.js +++ b/client/js/radio_emulator.js @@ -274,7 +274,7 @@ function listCallback(json, params) } now_on_sequence = now_on_sequence - json.list[i].starts_on; debugLog(`now_on_sequence (1updated): ${now_on_sequence}`); - FetchJSON(`${jsonRequest}${previous.hash}`, loadShowCallback, [json, now_on_sequence, json.list[i], hash_of_list]); + FetchJSON(`${jsonRequest}${json.list[i].hash}`, loadShowCallback, [json, now_on_sequence, json.list[i], hash_of_list]); debugLog('First!'); break; } -- cgit v1.2.3