summaryrefslogtreecommitdiffstats
path: root/templates/admin/repo
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-11-20 17:57:46 +0900
committerGitHub <noreply@github.com>2023-11-20 08:57:46 +0000
commiteae555ff2395cc1ad178f3a977d83742ae73e1d9 (patch)
tree8a1f612a453b2f0aec55204b954aafed67038761 /templates/admin/repo
parent0e1b381ff6a603baab638142b8073ae0da98eba3 (diff)
downloadgitea-eae555ff2395cc1ad178f3a977d83742ae73e1d9.tar.gz
gitea-eae555ff2395cc1ad178f3a977d83742ae73e1d9.zip
Remove autofocus in search box (#28033)
Mentioned here: https://github.com/go-gitea/gitea/pull/27982#issuecomment-1807923026
Diffstat (limited to 'templates/admin/repo')
-rw-r--r--templates/admin/repo/search.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/repo/search.tmpl b/templates/admin/repo/search.tmpl
index 2baecb8939..247ec5491a 100644
--- a/templates/admin/repo/search.tmpl
+++ b/templates/admin/repo/search.tmpl
@@ -1,7 +1,7 @@
<div class="ui secondary filter menu gt-ac gt-mx-0">
<form class="ui form ignore-dirty gt-f1">
<div class="ui fluid action input">
- {{template "shared/searchinput" dict "Value" .Keyword "AutoFocus" true}}
+ {{template "shared/searchinput" dict "Value" .Keyword}}
<button class="ui primary button">{{ctx.Locale.Tr "explore.search"}}</button>
</div>
</form>