3 ms·
Suggestion: add a form around the input and button, and bind on its submit. That makes the application work when pressing [return] from the input field (you'll
by masklinn 13y ago
Suggestion: add a form around the input and button, and bind on its submit. That makes the application work when pressing [return] from the input field
(you'll have to include a (.preventDefault e) in the (listen) callback though)