From cb2aaf8d8ced1c165b141ce0554fb54feac2dfff Mon Sep 17 00:00:00 2001 From: Juanan Pereira Date: Wed, 2 Jul 2014 23:05:03 +0200 Subject: [PATCH] set keyboard input focus to the e-mail field on the login screen --- lms/templates/login.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lms/templates/login.html b/lms/templates/login.html index 65c8bf49ef..293bd5d934 100644 --- a/lms/templates/login.html +++ b/lms/templates/login.html @@ -35,6 +35,8 @@ }).blur(function() { $("label").parent().removeClass("is-focused"); }); + + $("#email").focus(); }); (function() {