Like button on own posts is filled gray

This commit is contained in:
Kris 2018-04-23 18:46:13 -04:00 committed by Robin Ward
parent bd24345fbf
commit b449c47bdd

View File

@ -69,7 +69,7 @@ registerButton('like-count', attrs => {
const title = attrs.liked
? count === 1 ? 'post.has_likes_title_only_you' : 'post.has_likes_title_you'
: 'post.has_likes_title';
const icon = attrs.yours ? 'heart-o' : '';
const icon = attrs.yours ? 'heart' : '';
const additionalClass = attrs.yours ? 'my-likes' : 'regular-likes';
return { action: 'toggleWhoLiked',