1
1
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 13:28:25 +00:00

Remove autofocus in search box (#28033)

Mentioned here:
https://github.com/go-gitea/gitea/pull/27982#issuecomment-1807923026
This commit is contained in:
yp05327
2023-11-20 17:57:46 +09:00
committed by GitHub
parent 0e1b381ff6
commit eae555ff23
12 changed files with 12 additions and 12 deletions

View File

@@ -3,7 +3,7 @@
<input type="hidden" name="sort" value="{{$.SortType}}">
<input type="hidden" name="language" value="{{$.Language}}">
<div class="ui fluid action input">
{{template "shared/searchinput" dict "Value" .Keyword "AutoFocus" (not .ProfileReadme)}}
{{template "shared/searchinput" dict "Value" .Keyword}}
{{if .PageIsExploreRepositories}}
<input type="hidden" name="only_show_relevant" value="{{.OnlyShowRelevant}}">
{{else if .TabName}}