Skip to content

Commit

Permalink
Fix error messages #57
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Jul 14, 2015
1 parent 1380cec commit ed6c94e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/js/facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ function sendLoginFb() {
});
}else if(result.success == "signin"){
setTimeout('window.location.replace("/measures/")', 1000);

}else if(result.success == "email"){
$('#fb_error').html('You have an email account.').show();
} else {
$('#fb_error').html('Something went wrong... Try again later.').show();
}
Expand Down

0 comments on commit ed6c94e

Please sign in to comment.