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

Fix DisableEmbeddedSubtitles checkbox requirements

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
Matt 2021-12-26 20:11:28 +00:00 committed by GitHub
parent fad290483e
commit 0a91e48b51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -411,7 +411,7 @@ import template from './libraryoptionseditor.template.html';
parent.querySelector('.chkEnableEmbeddedEpisodeInfosContainer').classList.add('hide');
}
if (contentType !== 'tvshows' || contentType !== 'movies' || contentType !== 'musicvideos' || contentType !== 'mixed') {
if (contentType === 'tvshows' || contentType === 'movies' || contentType === 'musicvideos' || contentType === 'mixed') {
parent.querySelector('.chkDisableEmbeddedSubtitlesContainer').classList.remove('hide');
} else {
parent.querySelector('.chkDisableEmbeddedSubtitlesContainer').classList.add('hide');