diff --git a/client/wrap.js b/client/wrap.js index 2f4cfde..3234c84 100644 --- a/client/wrap.js +++ b/client/wrap.js @@ -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'); } + }); });