Fix backdrop being used on large screens in mobile layout
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user