]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/auth_providers.js
Change OpenID provider link to button
[rails.git] / app / assets / javascripts / auth_providers.js
index 35da7b5e4c9679f4bbc67abd4947d05615b3dc3c..3dd7601a088686c124f3b3ef170028b5ba099351 100644 (file)
@@ -9,10 +9,9 @@ $(document).ready(function () {
   });
 
   // Add click handler to show OpenID field
-  $("#openid_open_url").click(function (e) {
-    e.preventDefault();
+  $("#openid_open_url").click(function () {
     $("#openid_url").val("http://");
-    $("#login_auth_buttons").hide();
+    $("#login_auth_buttons").hide().removeClass("d-flex");
     $("#login_openid_url").show();
     $("#openid_login_button").show();
   });