diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index b84eb67bf6..9b20cfff25 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -377,13 +377,6 @@ import '../../elements/emby-input/emby-input'; }); } - export function setAdvancedVisible(parent, visible) { - const elems = parent.querySelectorAll('.advanced'); - for (let i = 0; i < elems.length; i++) { - visible ? elems[i].classList.remove('advancedHide') : elems[i].classList.add('advancedHide'); - } - } - export function setContentType(parent, contentType) { if (contentType === 'homevideos' || contentType === 'photos') { parent.querySelector('.chkEnablePhotosContainer').classList.remove('hide'); @@ -590,6 +583,5 @@ export default { embed: embed, setContentType: setContentType, getLibraryOptions: getLibraryOptions, - setLibraryOptions: setLibraryOptions, - setAdvancedVisible: setAdvancedVisible + setLibraryOptions: setLibraryOptions }; diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.template.html b/src/components/libraryoptionseditor/libraryoptionseditor.template.html index 5bf162478d..bd70bcb54e 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.template.html +++ b/src/components/libraryoptionseditor/libraryoptionseditor.template.html @@ -1,8 +1,3 @@ -