diff --git a/app/views/users/omniauth_callbacks/complete.html.erb b/app/views/users/omniauth_callbacks/complete.html.erb index f1953307860..3d4f96cea3b 100644 --- a/app/views/users/omniauth_callbacks/complete.html.erb +++ b/app/views/users/omniauth_callbacks/complete.html.erb @@ -28,11 +28,11 @@ // On facebook browser, just redirect and don't close var ua = navigator.userAgent || navigator.vendor || window.opera; - if ((ua.indexOf("FBAN") > -1) || (ua.indexOf("FBAV") > -1)) { - window.location.href = '<%= Discourse.base_url.html_safe %>'; - } else { + // if ((ua.indexOf("FBAN") > -1) || (ua.indexOf("FBAV") > -1)) { + // window.location.href = '<%= Discourse.base_url.html_safe %>'; + // } else { window.close(); - } + // }