Merge pull request #2496 from thornbill/logos-without-backdrops
Allow logos without backdrops enabled
(cherry picked from commit 6407128575)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
add2ec132f
commit
79c8495a1b
@@ -745,9 +745,7 @@ function renderLogo(page, item, apiClient) {
|
||||
|
||||
const url = logoImageUrl(item, apiClient, {});
|
||||
|
||||
if (!layoutManager.mobile && !userSettings.enableBackdrops()) {
|
||||
detailLogo.classList.add('hide');
|
||||
} else if (url) {
|
||||
if (url) {
|
||||
detailLogo.classList.remove('hide');
|
||||
imageLoader.setLazyImage(detailLogo, url);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user