| commit | ee52fbc1915703d37abe23c297f5f4e077a1a0af | [log] [tgz] |
|---|---|---|
| author | Nico Huber <nico.h@gmx.de> | Sat Jun 24 11:52:57 2023 +0000 |
| committer | Nico Huber <nico.h@gmx.de> | Sat Jun 24 11:52:57 2023 +0000 |
| tree | 8d6fbaa16f3ea4805ddf9f547aba3904b47a3a1d |
Add simpleid-1.0.5
diff --git a/simpleid/www/html/user-login.js b/simpleid/www/html/user-login.js new file mode 100644 index 0000000..bbcc227 --- /dev/null +++ b/simpleid/www/html/user-login.js
@@ -0,0 +1,7 @@ +$(document).ready(function() { + if (!$('.login-security').is('.allow-autocomplete')) $('#edit-pass').attr('autocomplete', 'off'); + + if ($('#edit-name').is('.form-text')) $('#edit-name').focus(); + if ($('#edit-otp').is('.form-text')) $('#edit-otp').focus(); +}); +