Skip to content

Commit

Permalink
added correct jquery selector for getting the entry
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoda committed May 17, 2014
1 parent 256d5ef commit 589f668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/views/forgotPassword/forgotPassword.coffee
Expand Up @@ -7,7 +7,7 @@ Template.entryForgotPassword.helpers
Template.entryForgotPassword.events
'submit #forgotPassword': (event) ->
event.preventDefault()
Session.set('email', $('input[type="email"]').val())
Session.set('email', $('input[name="forgottenEmail"]').val())

if Session.get('email').length is 0
Session.set('entryError', 'Email is required')
Expand Down

0 comments on commit 589f668

Please sign in to comment.