mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
modify inline code
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
57d0002aa3
commit
4794886399
@ -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 += `<h3 class="checkboxListLabel">${globalize.translate('LabelMetadataReaders')}</h3>`;
|
||||
html += '<div class="checkboxList paperList checkboxList-paperList">';
|
||||
for (let i = 0; i < plugins.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user