Igor Simic
3 years ago

Facebook login popup not closing


If you are using Facebook login button, in some cases login popup window will not close after user clicks on "Continue" button. Popup window is managed by Facebook so in order to close it, you have to return false at some point. So, in your JavaScript code before you redirect logged in user or after you show some login errors you have to add in your JS:
return false;