Fix check for if playlist videos exists

This commit is contained in:
WardPearce
2024-04-24 17:54:54 +12:00
parent b7002ad20a
commit 58f29f26af
@@ -207,7 +207,7 @@
if (player) {
player.addEventListener('end', () => {
if (!playlistVideos) {
if (playlistVideos.length === 0) {
if ($playerAutoplayNextByDefaultStore) {
goto(`/watch/${data.video.recommendedVideos[0].videoId}`);
}