mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Apply suggestions from code review
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
5db134a859
commit
6ffa0782ac
@ -1051,11 +1051,7 @@ function renderStudio(page, item, context) {
|
|||||||
studiosValue.innerHTML = html;
|
studiosValue.innerHTML = html;
|
||||||
|
|
||||||
const studiosGroup = page.querySelector('.studiosGroup');
|
const studiosGroup = page.querySelector('.studiosGroup');
|
||||||
if (studios.length) {
|
studiosGroup.classList.toggle('hide', !studios.length);
|
||||||
studiosGroup.classList.remove('hide');
|
|
||||||
} else {
|
|
||||||
studiosGroup.classList.add('hide');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderMiscInfo(page, item) {
|
function renderMiscInfo(page, item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user