post/favourite-count component

This commit is contained in:
psychobunny
2015-03-17 15:35:32 -04:00
parent c2a5169625
commit fffed29913
3 changed files with 9 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(com
return toggleVote($(this), '.downvoted', 'posts.downvote');
});
postContainer.on('click', '.votes, [component="post/votes"]', function() {
postContainer.on('click', '.votes, [component="post/vote-count"]', function() {
showVotes(getData($(this), 'data-pid'));
});