summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/awards_handler.coffee
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-11-19 13:20:09 +0200
committerValery Sizov <vsv2711@gmail.com>2015-11-19 13:20:09 +0200
commit23c5473cc0bd9b9034c5671fbea1356b0fb531e5 (patch)
tree1e3360ab65b6a9d771de97d7d1fccfeba2e16d10 /app/assets/javascripts/awards_handler.coffee
parent2c7d8678623a9e207d54e2e39d7eef9e2f77cb47 (diff)
downloadgitlab-ce-23c5473cc0bd9b9034c5671fbea1356b0fb531e5.tar.gz
added spinach tests
Diffstat (limited to 'app/assets/javascripts/awards_handler.coffee')
-rw-r--r--app/assets/javascripts/awards_handler.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/awards_handler.coffee b/app/assets/javascripts/awards_handler.coffee
index cac9c10332a..f5b9adbe9e2 100644
--- a/app/assets/javascripts/awards_handler.coffee
+++ b/app/assets/javascripts/awards_handler.coffee
@@ -75,7 +75,7 @@ class @AwardsHandler
if custom_path
$(".awards-menu li").first().html().replace(/emoji\/.*\.png/, custom_path)
else
- $("li[data-emoji='" + emoji + "'").html()
+ $("li[data-emoji='" + emoji + "']").html()
postEmoji: (emoji, callback) ->
@@ -88,4 +88,4 @@ class @AwardsHandler
callback.call()
findEmojiIcon: (emoji) ->
- $(".icon[data-emoji='" + emoji + "'") \ No newline at end of file
+ $(".icon[data-emoji='" + emoji + "']") \ No newline at end of file