diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-04-07 08:07:39 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-04-07 08:07:39 +0300 |
commit | 4bf6ffa51a8e1ed67af2c31bde6b472c67b4a963 (patch) | |
tree | 50eed05c94249aeaf7a46469809a4d34009c4047 | |
parent | 5fbb9e95449fd521447aa802269962c5a972467f (diff) |
Remove `undefined` class from `.emoji-menu-list`
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/30496
-rw-r--r-- | app/assets/javascripts/awards_handler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/awards_handler.js b/app/assets/javascripts/awards_handler.js index 67106e85a37..ce426741637 100644 --- a/app/assets/javascripts/awards_handler.js +++ b/app/assets/javascripts/awards_handler.js @@ -51,7 +51,7 @@ function renderCategory(name, emojiList, opts = {}) { <h5 class="emoji-menu-title"> ${name} </h5> - <ul class="clearfix emoji-menu-list ${opts.menuListClass}"> + <ul class="clearfix emoji-menu-list ${opts.menuListClass || ''}"> ${emojiList.map(emojiName => ` <li class="emoji-menu-list-item"> <button class="emoji-menu-btn text-center js-emoji-btn" type="button"> |