Skip to content

Commit

Permalink
make search form focus cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewarren committed Oct 6, 2022
1 parent e36c846 commit 99f3b88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SearchForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@
<form on:submit={(e) => e.preventDefault()}>
<div class="search-row">
<div class="form-floating">
<!-- svelte-ignore a11y-autofocus -->
<input
id="searchTerms"
type="text"
class="form-control"
placeholder="Search ATT&amp;CK…"
bind:value={query}
autofocus
/>
<label for="searchTerms">Search ATT&amp;CK…</label>
</div>
Expand Down

0 comments on commit 99f3b88

Please sign in to comment.