X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..258964f5fa27b7dafe17850f91ce3c22862314d0:/app/assets/javascripts/login.js?ds=inline 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();