summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/awards_handler.js
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-07-08 12:24:13 +0300
committerFatih Acet <acetfatih@gmail.com>2017-07-21 22:35:25 +0300
commita32f291a9e8c9d868904ec56f8b1bbceb497f836 (patch)
treeb954d9bf7a17981ceeaadb781671058540dec00d /app/assets/javascripts/awards_handler.js
parent7edc1bc3a62769f5186d237ca716b321a4a88d56 (diff)
downloadgitlab-ce-a32f291a9e8c9d868904ec56f8b1bbceb497f836.tar.gz
IssueNotesRefactor: Separate mounted blocks to methods.
Diffstat (limited to 'app/assets/javascripts/awards_handler.js')
-rw-r--r--app/assets/javascripts/awards_handler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/awards_handler.js b/app/assets/javascripts/awards_handler.js
index 177904543b6..d6e5a1d3b57 100644
--- a/app/assets/javascripts/awards_handler.js
+++ b/app/assets/javascripts/awards_handler.js
@@ -253,7 +253,7 @@ class AwardsHandler {
});
$('.emoji-menu').removeClass('is-visible');
- $('.js-add-award.is-active').removeClass('is-active');
+ return $('.js-add-award.is-active').removeClass('is-active');
}
addAwardToEmojiBar(votesBlock, emoji, checkForMutuality) {