Skip to content
Snippets Groups Projects
Commit ce572913 authored by Fatih Acet's avatar Fatih Acet Committed by Zeger-Jan van de Weg
Browse files

Fix mutual exclusivity for emoji only comments.

parent 40c86c91
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -131,7 +131,10 @@ class @AwardsHandler
@createEmoji votesBlock, emoji
 
 
getVotesBlock: -> return $ '.js-awards-block.current'
getVotesBlock: ->
currentBlock = $ '.js-awards-block.current'
return if currentBlock.length then currentBlock else $('.js-awards-block').eq 0
 
 
getAwardUrl: -> return @getVotesBlock().data 'award-url'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment