Revert "enable search field autofocus"
Some checks failed
website-main / test-build (push) Successful in 53s
website-main / prod-build (push) Failing after 14m52s

This reverts commit 8408ebf944adb4746b1f87884d84e6a3679a2401.
This commit is contained in:
Denys Konovalov 2023-09-30 19:51:50 +02:00
parent f9d3f5f87e
commit 8e259537f8
2 changed files with 2 additions and 3 deletions

@ -29,8 +29,7 @@
zero_results: "Leider konnten keine Ergebnisse zu [SEARCH_TERM] gefunden werden",
clear_search: "Löschen"
}
});
document.getElementsByClassName("pagefind-ui__search-input")[0].autofocus=true;
});
});
</script>

@ -67,7 +67,7 @@
{{ end }}
{{ end }}
<li class="nav-item">
<div class="nav-link nav-search" id="search-button" onclick="$('#pagefind-search').modal('show');">Suche</div>
<div class="nav-link nav-search" onclick="$('#pagefind-search').modal('show');">Suche</button>
</li>
</ul>
</div>