login form: focus login field

This commit is contained in:
Andrew Dolgov 2012-10-09 10:35:59 +04:00
parent 5482b38807
commit bed44d5164
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ function init() {
fetchProfiles(); fetchProfiles();
dijit.byId("bw_limit").attr("checked", getCookie("ttrss_bwlimit") == 'true'); dijit.byId("bw_limit").attr("checked", getCookie("ttrss_bwlimit") == 'true');
document.forms.loginForm.login.focus();
} }
function fetchProfiles() { function fetchProfiles() {