diff --git a/ckanext/rvr/assets/js/facetSearch.js b/ckanext/rvr/assets/js/facetSearch.js index 35230e7..bb2db28 100644 --- a/ckanext/rvr/assets/js/facetSearch.js +++ b/ckanext/rvr/assets/js/facetSearch.js @@ -42,7 +42,7 @@ this.ckan.module('facet-search', function (jQuery, _) { var listEl = this.el.find('nav ul'); if (searchedItems.length === 0 && queryText !== "") { - listEl.replaceWith(" "); + listEl.replaceWith(" "); } else if (searchedItems.length === 0 && queryText === "") { var resetItems = options[options.facet].clone(); listEl.find("span.no-results").remove();