Fix bug with tag list with tiny database.

This commit is contained in:
kor 2018-10-31 10:56:05 +13:00
parent 0d2006f5eb
commit 4e0b9b3d6c

View File

@ -356,7 +356,7 @@ function View()
{
menuContent += `<div class="menu-tagcontainer">`;
menuContent += `<i class="menu-tagicon fas fa-tag"></i>`;
for (var t = 0; t < Math.min(value.types.length, SETTINGS.STATSNUMTAGS); t++)
for (var t = 0; t < Math.min(value.tags.length, SETTINGS.STATSNUMTAGS); t++)
{
menuContent += `<a class="menu-tag" href='#tag-${value.tags[t][0]}'>`;
// menuContent += `<i class="fas fa-tag textIcon"></i>`;