mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
This is a common UX pattern for forms - a user would expect the input to be submitted on hitting enter. So, create a 'keypress' event listener on the input field for the new status, which calls 'submit_new_status' on enter key press.
2.9 KiB
2.9 KiB