like counter
This commit is contained in:
parent
1aecfe81bc
commit
57f96abd0c
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue