mirror of https://github.com/jpanther/congo.git
fix
parent
fc4120662a
commit
0e697b27ca
|
@ -133,7 +133,7 @@ function executeQuery(term) {
|
|||
let resultsHTML = "";
|
||||
|
||||
if (results.length > 0) {
|
||||
resultsHTML = results.forEach(function (value, key) {
|
||||
resultsHTML = results.map(function (value, key) {
|
||||
return `<li class="mb-2">
|
||||
<a class="flex items-center px-3 py-2 rounded-md appearance-none bg-neutral-100 dark:bg-neutral-700 focus:bg-primary-100 hover:bg-primary-100 dark:hover:bg-primary-900 dark:focus:bg-primary-900 focus:outline-dotted focus:outline-transparent focus:outline-2" href="${value.item.permalink}" tabindex="0">
|
||||
<div class="grow">
|
||||
|
|
Loading…
Reference in New Issue