Update search-menu.js.es6

This commit is contained in:
Vinoth Kannan 2016-08-24 15:25:51 +05:30 committed by GitHub
parent c1f516a604
commit fc95764f60

View file

@ -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 {