diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 92341d4d1..18d1c9a8f 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -64,7 +64,12 @@ import template from './libraryoptionseditor.template.html'; let html = ''; const elem = page.querySelector('.metadataReaders'); - if (plugins.length < 1) return (elem.innerHTML = '', elem.classList.add('hide'), !1); + if (plugins.length < 1) { + elem.innerHTML = ''; + elem.classList.add('hide') + return false; + } + html += `