fix search clear (fixes #47)

This commit is contained in:
Kevin Ngo
2018-10-04 01:01:31 -07:00
parent bad8e29812
commit b8e44202f4

View File

@@ -28,7 +28,7 @@ AFRAME.registerComponent('search', {
search: function (query) {
// Use cached for popular hits.
if (!query && this.popularHits) {
this.eventDetail.results = popularHits;
this.eventDetail.results = this.popularHits;
this.el.sceneEl.emit('searchresults', this.eventDetail);
return;
}