1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix no-sequence lint

This commit is contained in:
sancodes 2022-04-30 13:04:58 -07:00
parent ed8b274dbf
commit 9f19170dec
8 changed files with 11 additions and 11 deletions

View file

@ -1790,7 +1790,7 @@ 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 = []), chapters.length)) {
page.querySelector('#scenesCollapsible').classList.remove('hide');
const scenesContent = page.querySelector('#scenesContent');