From 1565a335db42bb68c4cf185390c2ccb498e854b5 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 13 Nov 2020 13:32:07 -0500 Subject: [PATCH] alps/compose.html: fix autofocus on wrong field --- themes/alps/compose.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/themes/alps/compose.html b/themes/alps/compose.html index 82ee283..e81b7ae 100644 --- a/themes/alps/compose.html +++ b/themes/alps/compose.html @@ -24,11 +24,17 @@ value="{{.Message.ToString}}" multiple list="emails" - {{ if not .Message.To }} autofocus{{ end }} + {{ if not .Message.ToString }} autofocus{{ end }} /> - +