From 859094ef0a1db915278e344b29c3fc47514c4249 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 27 Jul 2020 04:43:14 +0200 Subject: [PATCH] Disable search box autofocus on issue/pr pages (#12229) Various pages like the issue list autofocus their search box which I find rather intrusive because more often than not I don't want to type into the search box, it's distracting if the focus jumps after page load. Disable this behaviour. Co-authored-by: Lunny Xiao Co-authored-by: techknowlogick --- templates/repo/issue/search.tmpl | 2 +- templates/user/dashboard/issues.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/search.tmpl b/templates/repo/issue/search.tmpl index c51d4c906..f7ca49e66 100644 --- a/templates/repo/issue/search.tmpl +++ b/templates/repo/issue/search.tmpl @@ -5,7 +5,7 @@ - + diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index c3e8f2376..6acb9c060 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -72,7 +72,7 @@ - +