From bed44d5164637b4c443db5e2910ee37e48652c0f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 9 Oct 2012 10:35:59 +0400 Subject: [PATCH] login form: focus login field --- include/login_form.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/login_form.php b/include/login_form.php index 2c096a67..68df544e 100644 --- a/include/login_form.php +++ b/include/login_form.php @@ -102,6 +102,8 @@ function init() { fetchProfiles(); dijit.byId("bw_limit").attr("checked", getCookie("ttrss_bwlimit") == 'true'); + + document.forms.loginForm.login.focus(); } function fetchProfiles() { -- 2.39.5