X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/916c48fd478e9b44c21780a0a9fffecad5dd66b5..387d130e87b79cb428f7554c1a233de5d0627ae9:/app/assets/javascripts/user.js diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js index 3bdb35470..14da8f300 100644 --- a/app/assets/javascripts/user.js +++ b/app/assets/javascripts/user.js @@ -88,7 +88,7 @@ $(document).ready(function () { $("select#user_auth_provider").on("change", updateAuthUID); $("input#user_avatar").on("change", function () { - $("#avatar_action_new").prop("checked", true); + $("#user_avatar_action_new").prop("checked", true); }); function enableAuth() { @@ -123,7 +123,7 @@ $(document).ready(function () { $("input[name=legale]").change(function () { var url = $(this).data("url"); - $("#contributorTerms").html(""); + $("#contributorTerms").html("
" + I18n.t("browse.start_rjs.loading") + "
"); $("#contributorTerms").load(url); });