Skip to content

Commit

Permalink
chore: wrap autocomplete items with a span instead of invalid a
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed Jun 5, 2024
1 parent 059f208 commit b8adb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/default/forms/search.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $(".elgg-form-search .search-input").each(function() {

return $("<li></li>")
.data("item.autocomplete", item)
.append("<a class='search-advanced-autocomplete-" + item.type + "'>" + item.content + "</a>")
.append("<span class='search-advanced-autocomplete-" + item.type + "'>" + item.content + "</span>")
.appendTo(ul);
};
});
Expand Down

0 comments on commit b8adb6e

Please sign in to comment.