mirror of https://github.com/FreeTubeApp/FreeTube
Fix Issue preventing navigation on certain videos.
This commit is contained in:
parent
9a9bea9554
commit
e7a5dda37e
|
@ -810,8 +810,10 @@ function hideViews() {
|
|||
|
||||
let videoIndex = subscriptionView.videoList.findIndex(x => x.id === playerView.videoId);
|
||||
|
||||
subscriptionView.videoList[videoIndex].watched = true;
|
||||
subscriptionView.videoList[videoIndex].progressPercentage = (lengthSeconds / duration) * 100;
|
||||
if (videoIndex !== -1) {
|
||||
subscriptionView.videoList[videoIndex].watched = true;
|
||||
subscriptionView.videoList[videoIndex].progressPercentage = (lengthSeconds / duration) * 100;
|
||||
}
|
||||
}
|
||||
|
||||
subscriptionView.seen = false;
|
||||
|
|
Loading…
Reference in New Issue