Enter to send
This commit is contained in:
parent
675e060089
commit
023e7767f2
@ -150,4 +150,8 @@ $(document).ready(() => {
|
|||||||
|
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
$('.datepicker').datepicker({setDefaultDate: true, defaultDate: new Date()});
|
$('.datepicker').datepicker({setDefaultDate: true, defaultDate: new Date()});
|
||||||
|
|
||||||
|
$('#weight').keypress(e => {
|
||||||
|
if (e.which == 13) { $('#send').trigger('click'); }
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user