mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix parenthesis
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
9d99ffb426
commit
623524549a
1 changed files with 5 additions and 1 deletions
|
@ -1790,7 +1790,11 @@ function renderAdditionalParts(page, item, user) {
|
|||
function renderScenes(page, item) {
|
||||
let chapters = item.Chapters || [];
|
||||
|
||||
if ((chapters.length && !chapters[0].ImageTag && (chapters = []), chapters.length)) {
|
||||
if (chapters.length && !chapters[0].ImageTag) {
|
||||
chapters = [];
|
||||
}
|
||||
|
||||
if (chapters.length) {
|
||||
page.querySelector('#scenesCollapsible').classList.remove('hide');
|
||||
const scenesContent = page.querySelector('#scenesContent');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue