1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

[login] added 'focus' to username input

This commit is contained in:
llj 2016-03-05 17:31:15 +08:00
parent 762852a560
commit 4251b85246

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