diff options
author | Dimitrie Hoekstra <dimitrie@gitlab.com> | 2017-04-06 13:38:09 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-06 13:38:09 +0000 |
commit | 80c9264967f07f1a42aa01c391d827cfec052480 (patch) | |
tree | de46cc6cd8abe635319b1c5095239c02e1d37d55 /app/assets/javascripts | |
parent | 15429ea55495a3cba12a8b82cf271d9e20ea36ba (diff) | |
download | gitlab-ce-80c9264967f07f1a42aa01c391d827cfec052480.tar.gz |
Award emoji button smiley animation
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/awards_handler.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/awards_handler.js b/app/assets/javascripts/awards_handler.js index 4f63c7988f5..67106e85a37 100644 --- a/app/assets/javascripts/awards_handler.js +++ b/app/assets/javascripts/awards_handler.js @@ -263,7 +263,8 @@ AwardsHandler.prototype.addAward = function addAward( this.addAwardToEmojiBar(votesBlock, normalizedEmoji, checkMutuality); return typeof callback === 'function' ? callback() : undefined; }); - return $('.emoji-menu').removeClass('is-visible'); + $('.emoji-menu').removeClass('is-visible'); + $('.js-add-award.is-active').removeClass('is-active'); }; AwardsHandler.prototype.addAwardToEmojiBar = function addAwardToEmojiBar( |