mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3618 from thornbill/fix-backdrop-mobile
Fix backdrop being used on large screens in mobile layout
This commit is contained in:
commit
f2c27dc1b5
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ function setTrailerButtonVisibility(page, item) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderBackdrop(item) {
|
function renderBackdrop(item) {
|
||||||
if (dom.getWindowSize().innerWidth >= 1000) {
|
if (!layoutManager.mobile && dom.getWindowSize().innerWidth >= 1000) {
|
||||||
backdrop.setBackdrops([item]);
|
backdrop.setBackdrops([item]);
|
||||||
} else {
|
} else {
|
||||||
backdrop.clearBackdrop();
|
backdrop.clearBackdrop();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue