From: Andrew Dolgov Date: Tue, 9 Oct 2012 06:35:59 +0000 (+0400) Subject: login form: focus login field X-Git-Tag: 1.6.0~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bed44d5164637b4c443db5e2910ee37e48652c0f;p=tt-rss.git login form: focus login field --- 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() {