diff --git a/app/views/admin/members/show.html.erb b/app/views/admin/members/show.html.erb
index b66e806..9dc50b2 100644
--- a/app/views/admin/members/show.html.erb
+++ b/app/views/admin/members/show.html.erb
@@ -73,15 +73,15 @@
$("#google_connection div.main_text").css("opacity","0.5");
$("#google_connection div.wait_text").show();
if($(this).parent().hasClass("disable")){
- window.location.href = "/auth/google_oauth2"
- }else{
- if(confirm("Are you sure?")){
+ if(confirm("Are you sure?")){
window.location.href = "/auth/google_oauth2/remove";
}else{
$("#google_connection div.main_text").css("opacity","1");
$("#google_connection div.wait_text").hide();
return false;
}
+ }else{
+ window.location.href = "/auth/google_oauth2";
}
})