Commit 919e5303 by David Baumgold

Merge pull request #4293 from juananpe/getinputfocusonlogin

set keyboard input focus to the e-mail field on the login screen
parents 6fd085e3 21c0bf25
...@@ -164,3 +164,4 @@ Peter Pinch <pdpinch@mit.edu> ...@@ -164,3 +164,4 @@ Peter Pinch <pdpinch@mit.edu>
Muhammad Shoaib <mshoaib@edx.org> Muhammad Shoaib <mshoaib@edx.org>
Nicholas Dupoux <njdupoux1994@gmail.com> Nicholas Dupoux <njdupoux1994@gmail.com>
John Eskew <jeskew@edx.org> John Eskew <jeskew@edx.org>
Juanan Pereira <juanan.pereira@ehu.es>
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
}).blur(function() { }).blur(function() {
$("label").parent().removeClass("is-focused"); $("label").parent().removeClass("is-focused");
}); });
$("#email").focus();
}); });
(function() { (function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment