diff --git a/app/assets/javascripts/discourse/templates/search.hbs b/app/assets/javascripts/discourse/templates/search.hbs index fb062f02596..19eb370028a 100644 --- a/app/assets/javascripts/discourse/templates/search.hbs +++ b/app/assets/javascripts/discourse/templates/search.hbs @@ -28,7 +28,7 @@ {{i18n "show_more"}} {{fa-icon "chevron-down"}} {{/if}} {{#if resultType.more}} - {{i18n "show_more"}} {{fa-icon "chevron-down"}} + {{i18n "show_more"}} {{fa-icon "chevron-down"}} {{/if}} {{/each}} diff --git a/app/assets/javascripts/discourse/views/header.js.es6 b/app/assets/javascripts/discourse/views/header.js.es6 index 120a0960c7a..d2cfdb9322a 100644 --- a/app/assets/javascripts/discourse/views/header.js.es6 +++ b/app/assets/javascripts/discourse/views/header.js.es6 @@ -80,7 +80,7 @@ export default Discourse.View.extend({ }); $dropdown.on('click.d-dropdown', function(e) { - return $(e.target).closest('a').not('.search-link').length > 0 ? hideDropdown.apply(self) : true; + return $(e.target).closest('a').not('.search-link, .filter-type').length > 0 ? hideDropdown.apply(self) : true; }); $html.data('hide-dropdown', hideDropdown);