diff --git a/docs/src/routes/docs/search/Search.svelte b/docs/src/routes/docs/search/Search.svelte index f7fd689d8..5cd1cae30 100644 --- a/docs/src/routes/docs/search/Search.svelte +++ b/docs/src/routes/docs/search/Search.svelte @@ -178,7 +178,7 @@ } function onKeyDown(e: KeyboardEvent) { - if (e.key === 'k' && (e.metaKey || e.ctrlKey)) { + if (e.key.toLowerCase() === 'k' && (e.metaKey || e.ctrlKey)) { e.preventDefault(); open = !open; }