Adding autofocus fix for non HTML5 browsers see #5345

skala
Julio Montoya 13 years ago
parent ab48039063
commit e8c7076dc1
  1. 6
      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)

Loading…
Cancel
Save