mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 09:49:06 +08:00
Like button on own posts is filled gray
This commit is contained in:
parent
bd24345fbf
commit
b449c47bdd
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user