mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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