antirez / lamernews

Lamer News -- an HN style social news site written in Ruby/Sinatra/Redis/JQuery
http://lamernews.com
Other
1.35k stars 200 forks source link

Handle return key on login form #46

Closed paulsmith closed 13 years ago

paulsmith commented 13 years ago

Making it slightly easier to login after entering your password.

JonnieCache commented 13 years ago

Is there any reason we can't simply capture the submit event on the form tag, which is triggered by both the click event on the button as well as the pressing of return?

paulsmith commented 13 years ago

@JonnieCache That would make more sense! Will revise.

paulsmith commented 13 years ago

There, much simpler.

seppo0010 commented 13 years ago

This fixes issue #82.

antirez commented 13 years ago

Merged, thanks!