diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-22 14:38:29 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-22 14:38:29 +0100 |
commit | 593f0014536c9ed8f21b00c75e8cf48b4f3ab294 (patch) | |
tree | d39a7685315adb93881456272ddcf25026d7eb88 /app | |
parent | d5398e9656c1174d4d5be5a8cdad2a26d7587a27 (diff) | |
download | gitlab-ce-593f0014536c9ed8f21b00c75e8cf48b4f3ab294.tar.gz |
Triggers blur after clicking award buttonblur-award-btn
Fixes #15511
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/awards_handler.coffee | 2 |
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 |