aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-10-14 04:32:45 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-10-14 04:32:45 +0300
commit866eb9c6f8b145b065e47a8e47e9a79df386f5a4 (patch)
treeb331d1027840daccb7a88d34190749fb3c56d524
parent95ae29fe3341a2858e3c5195dbc72ed72efd8c96 (diff)
downloadarching-kaos-radio-866eb9c6f8b145b065e47a8e47e9a79df386f5a4.tar.gz
arching-kaos-radio-866eb9c6f8b145b065e47a8e47e9a79df386f5a4.tar.bz2
arching-kaos-radio-866eb9c6f8b145b065e47a8e47e9a79df386f5a4.zip
Bugfix
-rw-r--r--client/js/radio_emulator.js2
1 files changed, 1 insertions, 1 deletions
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;
}