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

"People" fix

People that aren't in a file/show had an empty line that resulted in
staggered layout, so I added a non-breaking space for consistent layout
This commit is contained in:
Tim Hobbs 2014-04-09 20:48:51 -07:00
parent f893f175cb
commit df87f66b8d

View file

@ -765,6 +765,10 @@
var itemCountHtml = LibraryBrowser.getItemCountsHtml(options, item);
if (item.Type == "Person" && !itemCountHtml) {
itemCountHtml = " ";
}
if (itemCountHtml) {
html += "<div class='" + cssClass + "'>";
html += itemCountHtml;