Merge branch 'v4' into jpg

This commit is contained in:
2025-09-06 00:57:46 +02:00
23 changed files with 6263 additions and 2375 deletions

View File

@@ -221,7 +221,7 @@ async function setupSearch(searchElement: Element, currentSlug: FullSlug, data:
// If search is active, then we will render the first result and display accordingly
if (!container.classList.contains("active")) return
if (e.key === "Enter") {
if (e.key === "Enter" && !e.isComposing) {
// If result has focus, navigate to that one, otherwise pick first result
if (results.contains(document.activeElement)) {
const active = document.activeElement as HTMLInputElement