Fix playlists autoplay function

This commit is contained in:
Preston 2020-05-29 22:15:03 -04:00
parent d74ca8af13
commit ca109be037
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ export default Vue.extend({
query: playlistInfo
}
)
} else if (videoIndex < this.playlistItems.length - 1 && !videosRemain) {
} else if (videoIndex < this.playlistItems.length - 1 && videosRemain) {
this.$router.push(
{
path: `/watch/${this.playlistItems[videoIndex + 1].videoId}`,