From 4794886399b0d1eb8f467c3b0a0b0d792c468add Mon Sep 17 00:00:00 2001 From: San <52472550+sancodes@users.noreply.github.com> Date: Fri, 20 May 2022 13:26:15 -0700 Subject: [PATCH] modify inline code Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- .../libraryoptionseditor/libraryoptionseditor.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 += `