mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Refactor likes/flags to simplify things a lot
This commit is contained in:
@ -15,7 +15,7 @@ function setup(store) {
|
||||
});
|
||||
|
||||
this.on('toggleLike', function() {
|
||||
post.toggleProperty('actionByName.like.acted');
|
||||
post.toggleProperty('likeAction.acted');
|
||||
});
|
||||
|
||||
this.set('post', post);
|
||||
|
Reference in New Issue
Block a user