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

Update src/components/libraryoptionseditor/libraryoptionseditor.js

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
TelepathicWalrus 2023-05-23 06:57:04 +01:00 committed by GitHub
parent 60fbfe55aa
commit 815b7f9f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -416,11 +416,7 @@ export function setContentType(parent, contentType) {
}
}
if (contentType === 'music') {
parent.querySelector('.chkEnableLUFSScan').classList.remove('hide');
} else {
parent.querySelector('.chkEnableLUFSScan').classList.add('hide');
}
parent.querySelector('.chkEnableLUFSScan').classList.toggle('hide', contentType !== 'music');
if (contentType === 'tvshows') {
parent.querySelector('.chkEnableEmbeddedEpisodeInfosContainer').classList.remove('hide');