Removed redundant semicolons

This commit is contained in:
Anon 2023-04-19 22:35:35 -07:00
parent eda4ec0340
commit 05051f04d8

View File

@ -52,7 +52,7 @@ function audioPlayer()
aCoverArt.src = musicList[idx][4] aCoverArt.src = musicList[idx][4]
if (doplay === true) if (doplay === true)
{ {
aPlay.play(); aPlay.play()
} }
} }
@ -60,12 +60,12 @@ function audioPlayer()
const el = appendMusicList(aList, value[1], value[3]) const el = appendMusicList(aList, value[1], value[3])
el.addEventListener("click", () => { el.addEventListener("click", () => {
// el.preventDefault(); // el.preventDefault();
changeSong(index); changeSong(index)
}); });
}) })
aPlay.addEventListener("ended", function(){ aPlay.addEventListener("ended", function(){
changeSong(currentSong + 1); changeSong(currentSong + 1)
}) })
changeSong(0, false); changeSong(0, false);
} }