mirror of
https://github.com/TangentFoxy/memex.git
synced 2024-11-22 04:54:23 +00:00
Added image type icon for menu stats.
This commit is contained in:
parent
de737fc90c
commit
2e28e45088
@ -365,6 +365,15 @@ function ViewMasonry()
|
||||
menuContent += `</div>`;
|
||||
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>`;
|
||||
|
Loading…
Reference in New Issue
Block a user