1
0
mirror of https://github.com/thebaer/cdr.git synced 2024-11-15 01:31:01 +00:00

Fix Previous Track logic from track 2 -> 1

This commit is contained in:
Matt Baer 2022-03-30 23:16:22 -04:00
parent 691f266b08
commit 48ff27f671

View File

@ -58,7 +58,7 @@
function playPrev() { function playPrev() {
current--; current--;
if (current <= 0) { if (current < 0) {
current = len - 1; current = len - 1;
} }
link = $playlist.find('a.track')[current]; link = $playlist.find('a.track')[current];