like counter

This commit is contained in:
Tyler Murphy 2023-01-24 09:25:14 -05:00
parent 1aecfe81bc
commit 57f96abd0c

View file

@ -44,7 +44,7 @@ function parsePost(post) {
${post.content.replace(/\n/g,'<br>')}
</p>
<span class="gtext mtext">
${Object.keys(post.likes).length} Likes
${Object.keys(post.likes).map(k => post.likes[k]).filter(v => v !== false).length} Likes
</span>
<div class="fullline nb"></div>
<div class="postbuttons">