Commit 593f0014 authored by Phil Hughes's avatar Phil Hughes

Triggers blur after clicking award button

Fixes #15511
parent d5398e96
...@@ -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