X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9649b192c03f7a333f3a02697a64910cd6669dab..fc57eaf8f662b721aebc2e4f4dcd453cd0fc95d4:/app/assets/javascripts/auth_providers.js diff --git a/app/assets/javascripts/auth_providers.js b/app/assets/javascripts/auth_providers.js index 975c57a9b..fe0a4fdce 100644 --- a/app/assets/javascripts/auth_providers.js +++ b/app/assets/javascripts/auth_providers.js @@ -9,15 +9,11 @@ $(document).ready(function () { }); // Add click handler to show OpenID field - $("#openid_open_url").click(function (e) { - e.preventDefault(); - $("#openid_url").val("http://"); - $("#login_auth_buttons").hide().removeClass("d-flex"); - $("#login_openid_url").show(); - $("#openid_login_button").show(); + $("#openid_open_url").click(function () { + $("#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(); });