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

Disable play button on poster in TV layout

This commit is contained in:
Dmitry Lyzo 2022-02-20 21:33:14 +03:00
parent fff64ae5a5
commit 6ad311baad

View file

@ -818,8 +818,8 @@ function renderDetailImage(elem, item, imageLoader) {
overlayText: false, overlayText: false,
transition: false, transition: false,
disableIndicators: true, disableIndicators: true,
overlayPlayButton: layoutManager.mobile ? false : true, overlayPlayButton: layoutManager.desktop,
action: layoutManager.mobile ? 'none' : 'play', action: layoutManager.desktop ? 'play' : 'none',
width: dom.getWindowSize().innerWidth * 0.25 width: dom.getWindowSize().innerWidth * 0.25
}); });