From: Tom Hughes Date: Tue, 16 Feb 2021 17:12:34 +0000 (+0000) Subject: Fix avatar mode update on file change X-Git-Tag: live~2295 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/80f576a29b2dd45757c48740a74683c699648c05?hp=017d4a1017616edfadd289d1cca860c2070707b7 Fix avatar mode update on file change --- diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js index 3bdb35470..8e4410fce 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() {