Commit e8c8c9d7 authored by Fatih Acet's avatar Fatih Acet

Fix emoji counter issue.

parent 4d6c51e2
...@@ -108,7 +108,7 @@ class @AwardsHandler ...@@ -108,7 +108,7 @@ class @AwardsHandler
if @isActive($emojiBtn) if @isActive($emojiBtn)
@decrementCounter($emojiBtn, emoji) @decrementCounter($emojiBtn, emoji)
else else
counter = $emojiBtn.siblings(".js-counter") counter = $emojiBtn.find('.js-counter')
counter.text(parseInt(counter.text()) + 1) counter.text(parseInt(counter.text()) + 1)
$emojiBtn.addClass("active") $emojiBtn.addClass("active")
@addMeToUserList(emoji) @addMeToUserList(emoji)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment