1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix backdrop being used on large screens in mobile layout

This commit is contained in:
Bill Thornton 2022-05-05 10:38:45 -04:00
parent 76ca94094b
commit d0ee66c2ce

View file

@ -509,7 +509,7 @@ function setTrailerButtonVisibility(page, item) {
}
function renderBackdrop(item) {
if (dom.getWindowSize().innerWidth >= 1000) {
if (!layoutManager.mobile && dom.getWindowSize().innerWidth >= 1000) {
backdrop.setBackdrops([item]);
} else {
backdrop.clearBackdrop();