Skip to content

Commit

Permalink
hide login, register and forgot password form when close the login modal
Browse files Browse the repository at this point in the history
  • Loading branch information
devton committed Feb 26, 2012
1 parent cbebf85 commit f8dbe91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/javascripts/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ $('#login .close').click(function(e){
$('#return_to').val(null)
$('#login').hide()
$('#login_overlay').hide()
$('#login_form_with_email').hide()
$('.another_social').hide()
$('fieldset.remember_me_social').show()
$('#new_email_account').hide()
$('#forgot_password_form').hide()
})
$('a.provider').click(function(e){
e.preventDefault()
Expand Down

0 comments on commit f8dbe91

Please sign in to comment.