Skip to content

Commit

Permalink
Merge pull request #3618 from thornbill/fix-backdrop-mobile
Browse files Browse the repository at this point in the history
Fix backdrop being used on large screens in mobile layout
  • Loading branch information
thornbill committed May 5, 2022
2 parents d43418b + d0ee66c commit f2c27dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/itemDetails/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f2c27dc

Please sign in to comment.