From e220ea603d22f4c8b3526dd7aa0ed8982e834b89 Mon Sep 17 00:00:00 2001 From: DrPandemic Date: Mon, 22 Apr 2019 01:04:02 -0400 Subject: [PATCH] Prevent the rendering of button inside button --- src/components/cardbuilder/cardbuilder.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/cardbuilder/cardbuilder.js b/src/components/cardbuilder/cardbuilder.js index 2885d7f75d..5878d89394 100644 --- a/src/components/cardbuilder/cardbuilder.js +++ b/src/components/cardbuilder/cardbuilder.js @@ -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;