Skip to content

Commit

Permalink
fixed curr song state (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivsh1999 committed Nov 19, 2022
1 parent e7b2c20 commit 328533d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ function shuffleSongsList() {
//stop button function
function stopVideo() {
songList = [];
currSong=undefined;
player.stopVideo();
}

Expand Down

0 comments on commit 328533d

Please sign in to comment.