mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
modify inline code
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
57d0002aa3
commit
4794886399
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue