diff --git a/dashboard-ui/scripts/medialibrarypage.js b/dashboard-ui/scripts/medialibrarypage.js index cefc9caaeb..dbfdffb86f 100644 --- a/dashboard-ui/scripts/medialibrarypage.js +++ b/dashboard-ui/scripts/medialibrarypage.js @@ -320,16 +320,10 @@ html += ''; } - // cardContent - html += ""; - - // cardScalable - html += ""; - if (!imgUrl && virtualFolder.showNameWithIcon) { html += '

'; - html += '' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + ''; + html += '' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + ''; if (virtualFolder.showNameWithIcon) { html += '
'; @@ -340,6 +334,12 @@ html += '

'; } + // cardContent + html += ""; + + // cardScalable + html += ""; + html += '
'; if (virtualFolder.showMenu !== false) {