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:
parent
ed8b274dbf
commit
9f19170dec
8 changed files with 11 additions and 11 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue