Enter to send

This commit is contained in:
Paul Mathieu 2022-09-11 15:05:32 +02:00
parent 675e060089
commit 023e7767f2

View File

@ -150,4 +150,8 @@ $(document).ready(() => {
$('select').formSelect();
$('.datepicker').datepicker({setDefaultDate: true, defaultDate: new Date()});
$('#weight').keypress(e => {
if (e.which == 13) { $('#send').trigger('click'); }
});
});