summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-22 14:38:29 +0100
committerPhil Hughes <me@iamphill.com>2016-04-22 14:38:29 +0100
commit593f0014536c9ed8f21b00c75e8cf48b4f3ab294 (patch)
treed39a7685315adb93881456272ddcf25026d7eb88 /app/assets
parentd5398e9656c1174d4d5be5a8cdad2a26d7587a27 (diff)
downloadgitlab-ce-593f0014536c9ed8f21b00c75e8cf48b4f3ab294.tar.gz
Triggers blur after clicking award buttonblur-award-btn
Fixes #15511
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/awards_handler.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/awards_handler.coffee b/app/assets/javascripts/awards_handler.coffee
index af4462ece38..dcdf27d7bc0 100644
--- a/app/assets/javascripts/awards_handler.coffee
+++ b/app/assets/javascripts/awards_handler.coffee
@@ -31,6 +31,8 @@ class @AwardsHandler
awards_handler.addAward emoji
+ $(this).trigger 'blur'
+
didUserClickEmoji: (that, emoji) ->
if $(that).siblings("button:has([data-emoji=#{emoji}])").attr("data-original-title")
$(that).siblings("button:has([data-emoji=#{emoji}])").attr("data-original-title").indexOf('me') > -1