From fc95764f602508c386f6c1c3e02b5e0a54385a35 Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Wed, 24 Aug 2016 15:25:51 +0530 Subject: [PATCH] Update search-menu.js.es6 --- app/assets/javascripts/discourse/widgets/search-menu.js.es6 | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/widgets/search-menu.js.es6 b/app/assets/javascripts/discourse/widgets/search-menu.js.es6 index fbf33548e..ad27f7ea0 100644 --- a/app/assets/javascripts/discourse/widgets/search-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/search-menu.js.es6 @@ -97,6 +97,7 @@ export default createWidget('search-menu', { const results = [this.attach('search-term', { value: searchData.term, contextEnabled }), this.attach('search-context', { contextEnabled })]; + if (searchData.term) if (searchData.loading) { results.push(h('div.searching', h('div.spinner'))); } else {