diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-10-14 07:29:25 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-10-14 07:29:25 +0300 |
commit | d5e96c0d10b899d5895fc9305b2ab58f122c7e6e (patch) | |
tree | 6fab9023b9a6a034bf2dbb71f272044380aee363 | |
parent | 4322172f5ae79c42dad63b1cf72f3dc379dc6b0e (diff) | |
download | arching-kaos-radio-d5e96c0d10b899d5895fc9305b2ab58f122c7e6e.tar.gz arching-kaos-radio-d5e96c0d10b899d5895fc9305b2ab58f122c7e6e.tar.bz2 arching-kaos-radio-d5e96c0d10b899d5895fc9305b2ab58f122c7e6e.zip |
Fix a bug
-rw-r--r-- | client/js/radio_emulator.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |