summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/awards_handler.coffee
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-01 13:00:26 +0000
committerPhil Hughes <me@iamphill.com>2016-03-11 09:02:43 +0000
commita7e76a6119b4f51bdb29ea1420c151081cd12d77 (patch)
treefacf815c82a88f28f549be4b24cbfba60485c320 /app/assets/javascripts/awards_handler.coffee
parent5e145918b4dc20672ca212d094a73b87476d1db5 (diff)
downloadgitlab-ce-a7e76a6119b4f51bdb29ea1420c151081cd12d77.tar.gz
Updated award emoji tests
Diffstat (limited to 'app/assets/javascripts/awards_handler.coffee')
-rw-r--r--app/assets/javascripts/awards_handler.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/awards_handler.coffee b/app/assets/javascripts/awards_handler.coffee
index 351f871de94..829340dea6e 100644
--- a/app/assets/javascripts/awards_handler.coffee
+++ b/app/assets/javascripts/awards_handler.coffee
@@ -82,7 +82,7 @@ class @AwardsHandler
award_block = @findEmojiIcon(emoji).parent()
authors = award_block.attr("data-original-title").split(", ")
authors.splice(authors.indexOf("me"),1)
- award_block.closest(".award").attr("data-original-title", authors.join(", "))
+ award_block.closest(".js-emoji-btn").attr("data-original-title", authors.join(", "))
@resetTooltip(award_block)
addMeToAuthorList: (emoji) ->