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
01ee2fca0e
commit
df51418753
@ -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 overlayText = options.overlayText;
|
||||
|
||||
if (forceName && !options.cardLayout) {
|
||||
|
||||
if (overlayText == null) {
|
||||
overlayText = true;
|
||||
}
|
||||
}
|
||||
|
||||
var cardImageContainerClass = 'cardImageContainer';
|
||||
var coveredImage = options.coverImage || imgInfo.coverImage;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user