Closed sumanyu closed 10 years ago
Changes event handler from click to submit. A user can submit a form by clicking, pressing enter, etc. Watching for submit covers all the ways a user could submit the form.
Also cleaned up comments.
looks good to me
Changes event handler from click to submit. A user can submit a form by clicking, pressing enter, etc. Watching for submit covers all the ways a user could submit the form.
Also cleaned up comments.