diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 55d899921a..9f25b6c3e6 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -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');