mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Prevent the rendering of button inside button
This commit is contained in:
parent
3f448fd12c
commit
e220ea603d
@ -1267,13 +1267,6 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana
|
|||||||
var showTitle = options.showTitle === 'auto' ? true : (options.showTitle || item.Type === 'PhotoAlbum' || item.Type === 'Folder');
|
var showTitle = options.showTitle === 'auto' ? true : (options.showTitle || item.Type === 'PhotoAlbum' || item.Type === 'Folder');
|
||||||
var overlayText = options.overlayText;
|
var overlayText = options.overlayText;
|
||||||
|
|
||||||
if (forceName && !options.cardLayout) {
|
|
||||||
|
|
||||||
if (overlayText == null) {
|
|
||||||
overlayText = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var cardImageContainerClass = 'cardImageContainer';
|
var cardImageContainerClass = 'cardImageContainer';
|
||||||
var coveredImage = options.coverImage || imgInfo.coverImage;
|
var coveredImage = options.coverImage || imgInfo.coverImage;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user