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:
parent
691f266b08
commit
48ff27f671
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user