This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-16 23:15:07 -05:00
parent d33d44c5eb
commit 45601aa578

View file

@ -64,7 +64,7 @@ const display_search_results = function(searchable_catalog) {
if(entry.attributes)
entry.attributes.forEach(function(attr) {
elemInnerHtml += '<span class="pill ' + attr + '-pill">'
+ attr + '<svg><use href="../icons.svg#' + attr_to_icon[attr] + '"></use></svg></span>';
+ attr + '<svg><use href="./icons.svg#' + attr_to_icon[attr] + '"></use></svg></span>';
});
elemInnerHtml += "</div></h3><p>" + entry.description + "</p></a>" + '\n';
tr.innerHTML = elemInnerHtml;