mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
liked icon should use d-icon
This commit is contained in:
parent
cafd1241b9
commit
c5dbfe1886
@ -69,7 +69,7 @@ registerButton('like-count', attrs => {
|
|||||||
const title = attrs.liked
|
const title = attrs.liked
|
||||||
? count === 1 ? 'post.has_likes_title_only_you' : 'post.has_likes_title_you'
|
? count === 1 ? 'post.has_likes_title_only_you' : 'post.has_likes_title_you'
|
||||||
: 'post.has_likes_title';
|
: 'post.has_likes_title';
|
||||||
const icon = attrs.yours ? 'heart' : '';
|
const icon = attrs.yours ? 'd-liked' : '';
|
||||||
const additionalClass = attrs.yours ? 'my-likes' : 'regular-likes';
|
const additionalClass = attrs.yours ? 'my-likes' : 'regular-likes';
|
||||||
|
|
||||||
return { action: 'toggleWhoLiked',
|
return { action: 'toggleWhoLiked',
|
||||||
|
Loading…
Reference in New Issue
Block a user