From df87f66b8d352221cdeff988bc85eba79f2f2ac1 Mon Sep 17 00:00:00 2001 From: Tim Hobbs Date: Wed, 9 Apr 2014 20:48:51 -0700 Subject: [PATCH] "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 --- dashboard-ui/scripts/librarybrowser.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index c94937596f..3220196744 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -765,6 +765,10 @@ var itemCountHtml = LibraryBrowser.getItemCountsHtml(options, item); + if (item.Type == "Person" && !itemCountHtml) { + itemCountHtml = " "; + } + if (itemCountHtml) { html += "
"; html += itemCountHtml;