blob: 64b1f18da5e7f2fe000427e0ead85ecdab6dfdcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$(function () {
$('input:first').focus();
$('code').click(function () {
$(this).select();
});
// Focus the first input field in the form
$('form:not(.filter) :input:visible:enabled:first').focus();
$('select').material_select();
});
$(document).ready(function() {
$('.form-help').each(function (index, help) {
var $help = $(help);
var $row = $help.parents('.row').first();
if ($row.size()) {
$help.addClass('col s12 m12 l6');
$row.append($help);
}
});
});
|