diff options
author | Simon Knox <psimyn@gmail.com> | 2017-04-04 10:24:28 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-04-04 10:24:28 +1000 |
commit | 09ef9a4cbcfef77df138689b5c5245aae5130828 (patch) | |
tree | d0eefce519d6d01cd51df401dd599b1944482905 | |
parent | f55e719edabacd0a015f484ddb4284d3aac298bf (diff) | |
download | gitlab-ce-09ef9a4cbcfef77df138689b5c5245aae5130828.tar.gz |
remove is-active class after adding emoji
-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 9349918f7a0..edf057faa91 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( |