mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
show first episode as next up
This commit is contained in:
parent
caef426bf5
commit
bf447bbed6
1 changed files with 1 additions and 3 deletions
|
@ -298,9 +298,7 @@
|
||||||
|
|
||||||
var section = page.querySelector('.nextUpSection');
|
var section = page.querySelector('.nextUpSection');
|
||||||
|
|
||||||
var userData = item.UserData || {};
|
if (item.Type != 'Series') {
|
||||||
|
|
||||||
if (item.Type != 'Series' || !userData.PlayedPercentage) {
|
|
||||||
section.classList.add('hide');
|
section.classList.add('hide');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue