diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-23 17:53:53 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-09-27 00:16:39 +0300 |
commit | 454bb145f0a3e014e8e87637a8f40b7d4119eadf (patch) | |
tree | fb12408f5639eb1c71c98ea048a3090974b14e80 | |
parent | 6602b917f7ffcb8c8e9134ee156ac49c24ed2a9b (diff) |
Added `@zeiv`s changes to fix awards search, including CHANGELOG where he is credited
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | app/assets/javascripts/awards_handler.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG index 592a3fec134..1ba2b4eddc7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ v 8.12.2 (unreleased) v 8.12.1 - Fix a memory leak in HTML::Pipeline::SanitizationFilter::WHITELIST - Fix issue with search filter labels not displaying + - Fix bug where 'Search results' repeated many times when a search in the emoji search form is cleared (Xavier Bick) (@zeiv) v 8.12.0 - Update the rouge gem to 2.0.6, which adds highlighting support for JSX, Prometheus, and others. !6251 diff --git a/app/assets/javascripts/awards_handler.js b/app/assets/javascripts/awards_handler.js index 0decc6d09e6..44af1c135a0 100644 --- a/app/assets/javascripts/awards_handler.js +++ b/app/assets/javascripts/awards_handler.js @@ -357,7 +357,7 @@ $('ul.emoji-menu-search, h5.emoji-search').remove(); if (term) { // Generate a search result block - h5 = $('<h5>').text('Search results'); + h5 = $('<h5 class="emoji-search" />').text('Search results'); found_emojis = _this.searchEmojis(term).show(); ul = $('<ul>').addClass('emoji-menu-list emoji-menu-search').append(found_emojis); $('.emoji-menu-content ul, .emoji-menu-content h5').hide(); |