Commit 7f17b118 authored by Jacob Schatz's avatar Jacob Schatz Committed by Robert Speicher

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

Fix emoji block selector.

Fixes #18465 and #18577

See merge request !4604
parent e405811d
......@@ -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