Removed redundant semicolons
This commit is contained in:
parent
eda4ec0340
commit
05051f04d8
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user