Commit 103b1444 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'blur-award-btn' into 'master'

Triggers blur after clicking award button

![blur](/uploads/6cd53a5ac314e8048c656685935747e2/blur.gif)

Fixes #15511

See merge request !3881
parents d809507e 593f0014
...@@ -31,6 +31,8 @@ class @AwardsHandler ...@@ -31,6 +31,8 @@ class @AwardsHandler
awards_handler.addAward emoji awards_handler.addAward emoji
$(this).trigger 'blur'
didUserClickEmoji: (that, emoji) -> didUserClickEmoji: (that, emoji) ->
if $(that).siblings("button:has([data-emoji=#{emoji}])").attr("data-original-title") 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 $(that).siblings("button:has([data-emoji=#{emoji}])").attr("data-original-title").indexOf('me') > -1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment