Added image type icon for menu stats.

This commit is contained in:
kor 2018-07-19 04:28:01 +12:00
parent de737fc90c
commit 2e28e45088

View File

@ -365,6 +365,15 @@ function ViewMasonry()
menuContent += `</div>`; menuContent += `</div>`;
menuContent += `</a>`; menuContent += `</a>`;
} }
else if (stats.types[ty][0] == 'image')
{
menuContent += `<a href='#type-image'>`;
menuContent += `<div class="menu-item">`;
menuContent += `<div class="count">${stats.types[ty][1]}</div>`;
menuContent += `<i class="fas fa-image"></i>`;
menuContent += `</div>`;
menuContent += `</a>`;
}
} }
menuContent += `<div class="menu-spacer"></div>`; menuContent += `<div class="menu-spacer"></div>`;