From 815b7f9f1ea3bde19260deca6c79450d4953d9e3 Mon Sep 17 00:00:00 2001 From: TelepathicWalrus <48514138+TelepathicWalrus@users.noreply.github.com> Date: Tue, 23 May 2023 06:57:04 +0100 Subject: [PATCH] Update src/components/libraryoptionseditor/libraryoptionseditor.js Co-authored-by: Bill Thornton --- src/components/libraryoptionseditor/libraryoptionseditor.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 55d899921..9f25b6c3e 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');