X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b625eefdeb55822c7d4a4dafa6473c8ac537ef48..392d3d12264c83d7ab03d34471792476fac31cf6:/app/assets/javascripts/auth_providers.js diff --git a/app/assets/javascripts/auth_providers.js b/app/assets/javascripts/auth_providers.js index 975c57a9b..38a7287a0 100644 --- a/app/assets/javascripts/auth_providers.js +++ b/app/assets/javascripts/auth_providers.js @@ -9,15 +9,12 @@ $(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().removeClass("d-flex"); - $("#login_openid_url").show(); - $("#openid_login_button").show(); + $("#login_auth_buttons").hide(); + $("#openid_login_form").show(); }); // Hide OpenID field for now - $("#login_openid_url").hide(); - $("#openid_login_button").hide(); + $("#openid_login_form").hide(); });