mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Allow logos without backdrops enabled
This commit is contained in:
parent
41313f66d3
commit
2172ee7d9a
1 changed files with 1 additions and 3 deletions
|
@ -745,9 +745,7 @@ function renderLogo(page, item, apiClient) {
|
||||||
|
|
||||||
const url = logoImageUrl(item, apiClient, {});
|
const url = logoImageUrl(item, apiClient, {});
|
||||||
|
|
||||||
if (!layoutManager.mobile && !userSettings.enableBackdrops()) {
|
if (url) {
|
||||||
detailLogo.classList.add('hide');
|
|
||||||
} else if (url) {
|
|
||||||
detailLogo.classList.remove('hide');
|
detailLogo.classList.remove('hide');
|
||||||
imageLoader.setLazyImage(detailLogo, url);
|
imageLoader.setLazyImage(detailLogo, url);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue