1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-14 15:35:35 +00:00

Merge pull request #1050 from haiwen/login_focus

[login] added 'focus' to username input
This commit is contained in:
Daniel Pan 2016-03-05 20:58:54 +08:00
commit e124bc6eb6

View File

@ -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});
}