mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00: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
1 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue