From 4dbdd84140b1b6c18825752d6d1ac70e85580b46 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Sat, 12 Feb 2022 20:10:12 +0000 Subject: [PATCH] Fix eslint errors --- src/components/libraryoptionseditor/libraryoptionseditor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 308e2eb6b..b8950ebed 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -416,7 +416,7 @@ import template from './libraryoptionseditor.template.html'; } else { parent.querySelector('.fldAllowEmbeddedSubtitlesContainer').classList.add('hide'); } - + parent.querySelector('.chkAutomaticallyAddToCollectionContainer').classList.toggle('hide', contentType !== 'movies' && contentType !== 'mixed'); return populateMetadataSettings(parent, contentType); @@ -568,7 +568,7 @@ import template from './libraryoptionseditor.template.html'; parent.querySelector('.chkAutomaticallyGroupSeries').checked = options.EnableAutomaticSeriesGrouping; parent.querySelector('#chkEnableEmbeddedTitles').checked = options.EnableEmbeddedTitles; parent.querySelector('#chkEnableEmbeddedEpisodeInfos').value = options.EnableEmbeddedEpisodeInfos; - parent.querySelector("#selectAllowEmbeddedSubtitles").value = options.AllowEmbeddedSubtitles; + parent.querySelector('#selectAllowEmbeddedSubtitles').value = options.AllowEmbeddedSubtitles; parent.querySelector('#chkSkipIfGraphicalSubsPresent').checked = options.SkipSubtitlesIfEmbeddedSubtitlesPresent; parent.querySelector('#chkSaveSubtitlesLocally').checked = options.SaveSubtitlesWithMedia; parent.querySelector('#chkSkipIfAudioTrackPresent').checked = options.SkipSubtitlesIfAudioTrackMatches;