From 1d886aa663f66aa3aa09a0c8c040d0c422a52221 Mon Sep 17 00:00:00 2001 From: Daniel Tam Date: Sat, 16 Jul 2022 23:19:45 -0500 Subject: [PATCH] set to random song when changing playlists --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index b7cd031..ee89efc 100644 --- a/index.html +++ b/index.html @@ -318,6 +318,7 @@ $('#select-playlist').on ('change', function () { var playlist = $('#select-playlist').val (); + g_current = -1; loadNewPlaylist (playlist, ''); });