diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 717e3f5c96..5e9ca5dbc9 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -410,11 +410,8 @@ import template from './libraryoptionseditor.template.html'; } else { parent.querySelector('.chkEnableEmbeddedEpisodeInfosContainer').classList.add('hide'); } - if (contentType === 'movies') { - parent.querySelector('.chkAutoCollectionContainer').classList.remove('hide'); - } else { - parent.querySelector('.chkAutoCollectionContainer').classList.add('hide'); - } + + parent.querySelector('.chkAutoCollectionContainer').classList.toggle('hide', contentType !== 'movies'); return populateMetadataSettings(parent, contentType); }