mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-14 07:24:58 +00:00
Merge pull request #1050 from haiwen/login_focus
[login] added 'focus' to username input
This commit is contained in:
commit
e124bc6eb6
@ -51,6 +51,8 @@
|
||||
|
||||
{% block extra_script %}
|
||||
<script type="text/javascript">
|
||||
$('[name="login"]').focus();
|
||||
|
||||
function setCaptchaInputWidth() {
|
||||
$('#id_captcha_1').css({'width': $('.input').outerWidth() - $('.captcha').width() - 10});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user