X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24275fe237b022bd10f24494540fbcf28dbefee3..80d7fe4cce0b3562a1465b7c278283ef57bb8dcf:/app/assets/javascripts/auth_providers.js diff --git a/app/assets/javascripts/auth_providers.js b/app/assets/javascripts/auth_providers.js index 3dd7601a0..fe0a4fdce 100644 --- a/app/assets/javascripts/auth_providers.js +++ b/app/assets/javascripts/auth_providers.js @@ -10,13 +10,10 @@ $(document).ready(function () { // Add click handler to show OpenID field $("#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(); });