X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ffda8d7ac5ca4f40a1211225dd3e1c898fc232a8..37e6725d2d85e92df4bc770b73e137a52afb63a4:/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(); });