Skip to content

Commit

Permalink
[Fix][xs]: Missing closing tag on search no result text
Browse files Browse the repository at this point in the history
  • Loading branch information
sagargg committed Aug 8, 2023
1 parent 678721d commit aab6e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/rvr/assets/js/facetSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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("<ul><span class='item-label no-results'>Keine ergebnisse gefunden/span> </ul> ");
listEl.replaceWith("<ul><span class='item-label no-results'>Keine ergebnisse gefunden</span> </ul> ");
} else if (searchedItems.length === 0 && queryText === "") {
var resetItems = options[options.facet].clone();
listEl.find("span.no-results").remove();
Expand Down

0 comments on commit aab6e0f

Please sign in to comment.