diff --git a/main/template/default/layout/footer.tpl b/main/template/default/layout/footer.tpl index c69ec0532b..d90ed88c09 100644 --- a/main/template/default/layout/footer.tpl +++ b/main/template/default/layout/footer.tpl @@ -75,6 +75,12 @@ $(document).ready( function() { } }); + /* For non HTML5 browsers */ + if ($("#formLogin".length > 1)) { + $("input[name=login]").focus(); + } + + /* For IOS users */ $('.autocapitalize_off').attr('autocapitalize', 'off'); //Tool tip (in exercises)