Fix auto-focus username for login form
This commit is contained in:
parent
f71eadd409
commit
15fb7f45b8
2 changed files with 14 additions and 0 deletions
|
@ -57,5 +57,15 @@
|
|||
</div>
|
||||
</%def>
|
||||
|
||||
<%def name="modify_this_page_vars()">
|
||||
<script type="text/javascript">
|
||||
|
||||
TailboneForm.mounted = function() {
|
||||
this.$refs.username.focus()
|
||||
}
|
||||
|
||||
</script>
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue