Commit 433e0a41 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'award-emoji-fix' into 'master'

Fix emoji block selector.

Fixes #18465 and #18577

See merge request !4604
parents 102f4d8d bcc3f8f2
No related merge requests found
......@@ -40,7 +40,7 @@ class @AwardsHandler
$menu = $ '.emoji-menu'
if $addBtn.hasClass 'js-note-emoji'
$addBtn.parents('.note').find('.js-awards-block').addClass 'current'
$addBtn.closest('.note').find('.js-awards-block').addClass 'current'
else
$addBtn.closest('.js-awards-block').addClass 'current'
......
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