X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d15041f84713e60eb28a6e22fadfd80ab3cd76b0..5f682c58682ab44ef28feb0f5d3bbe5b33853030:/app/assets/javascripts/login.js?ds=sidebyside diff --git a/app/assets/javascripts/login.js b/app/assets/javascripts/login.js index 5853193bc..43e2cf660 100644 --- a/app/assets/javascripts/login.js +++ b/app/assets/javascripts/login.js @@ -14,7 +14,8 @@ $(document).ready(function () { }); // Add click handler to show OpenID field - $("#openid_open_url").click(function () { + $("#openid_open_url").click(function (e) { + e.preventDefault(); $("#openid_url").val("http://"); $("#login_auth_buttons").hide(); $("#login_openid_url").show();