mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-18 15:08:22 +00:00
[login] added 'focus' to username input
This commit is contained in:
parent
762852a560
commit
4251b85246
@ -51,6 +51,8 @@
|
|||||||
|
|
||||||
{% block extra_script %}
|
{% block extra_script %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
$('[name="login"]').focus();
|
||||||
|
|
||||||
function setCaptchaInputWidth() {
|
function setCaptchaInputWidth() {
|
||||||
$('#id_captcha_1').css({'width': $('.input').outerWidth() - $('.captcha').width() - 10});
|
$('#id_captcha_1').css({'width': $('.input').outerWidth() - $('.captcha').width() - 10});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user