diff --git a/public/js/home.js b/public/js/home.js index 9ccd610..c6f8a86 100644 --- a/public/js/home.js +++ b/public/js/home.js @@ -44,7 +44,7 @@ function parsePost(post) { ${post.content.replace(/\n/g,'
')}

- ${Object.keys(post.likes).length} Likes + ${Object.keys(post.likes).map(k => post.likes[k]).filter(v => v !== false).length} Likes