From 328533dda32d644071e9d819bb9d33447ca54a1a Mon Sep 17 00:00:00 2001 From: Vivek Sharma <36125286+sharmavivek223@users.noreply.github.com> Date: Sat, 19 Nov 2022 14:51:35 +0530 Subject: [PATCH] fixed curr song state (#348) --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 4384a808..ff37dd38 100644 --- a/index.js +++ b/index.js @@ -238,6 +238,7 @@ function shuffleSongsList() { //stop button function function stopVideo() { songList = []; + currSong=undefined; player.stopVideo(); }