mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-29 02:11:12 -06:00
Focus the first visible form field in the guest area.
This commit is contained in:
parent
49292bbb2d
commit
da1cce035a
6
public/js/guest.js
Normal file
6
public/js/guest.js
Normal file
@ -0,0 +1,6 @@
|
||||
$(function () {
|
||||
"use strict";
|
||||
|
||||
// Focus first visible form element.
|
||||
$("form input:enabled:visible:first").first().select()
|
||||
});
|
@ -48,6 +48,7 @@
|
||||
<!-- /.login-box -->
|
||||
<script type="text/javascript" src="js/jquery-2.1.3.min.js"></script>
|
||||
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="js/guest.js"></script>
|
||||
|
||||
{% if env('ANALYTICS_ID','') != '' %}
|
||||
<script>
|
||||
|
Loading…
Reference in New Issue
Block a user