From d5e96c0d10b899d5895fc9305b2ab58f122c7e6e Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 14 Oct 2024 07:29:25 +0300 Subject: Fix a bug --- client/js/radio_emulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/js/radio_emulator.js') diff --git a/client/js/radio_emulator.js b/client/js/radio_emulator.js index ae78258..974e71d 100644 --- a/client/js/radio_emulator.js +++ b/client/js/radio_emulator.js @@ -296,7 +296,7 @@ function listCallback(json, params) tmp.innerText = JSON.stringify(json.list[i-1], null, 2); placeholders.previouslyPlayed.append(tmp); } - //now_on_sequence = now_on_sequence - json.list[i].starts_on; + values.now_on_sequence = values.now_on_sequence - json.list[i].starts_on; FetchJSON(`${jsonRequest}${json.list[i].hash}`, loadShowCallback, [json, values.now_on_sequence, json.list[i], hash_of_list]); debugLog('Second!'); break; -- cgit v1.2.3