mirror of
https://github.com/flarum/core.git
synced 2025-08-08 01:16:52 +02:00
Change button class for new post controls location
This commit is contained in:
@@ -14,7 +14,7 @@ export default function() {
|
|||||||
items.add('like',
|
items.add('like',
|
||||||
Button.component({
|
Button.component({
|
||||||
children: app.trans(isLiked ? 'likes.unlike_action' : 'likes.like_action'),
|
children: app.trans(isLiked ? 'likes.unlike_action' : 'likes.like_action'),
|
||||||
className: 'Button Button--text',
|
className: 'Button Button--link',
|
||||||
onclick: () => {
|
onclick: () => {
|
||||||
isLiked = !isLiked;
|
isLiked = !isLiked;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user