From 0a91e48b51a26fd26a4b8b8b18741c6356fea333 Mon Sep 17 00:00:00 2001 From: Matt <7196594+matthew-jones-uk@users.noreply.github.com> Date: Sun, 26 Dec 2021 20:11:28 +0000 Subject: [PATCH] Fix DisableEmbeddedSubtitles checkbox requirements Co-authored-by: Cody Robibero --- src/components/libraryoptionseditor/libraryoptionseditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 8418621095..964b2bb745 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -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');