Remove Location field autofocus from search panel

This commit is contained in:
Zed
2022-11-27 16:06:36 +01:00
parent 310b0ab9a1
commit 096d44856f
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ proc renderSearchPanel*(query: Query): VNode =
genDate("until", query.until)
tdiv:
span(class="search-title"): text "Near"
genInput("near", "", query.near, placeholder="Location...")
genInput("near", "", query.near, "Location...", autofocus=false)
proc renderTweetSearch*(results: Result[Tweet]; prefs: Prefs; path: string;
pinned=none(Tweet)): VNode =