]> git.openstreetmap.org Git - rails.git/commitdiff
Fix avatar mode update on file change
authorTom Hughes <tom@compton.nu>
Tue, 16 Feb 2021 17:12:34 +0000 (17:12 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 16 Feb 2021 17:12:34 +0000 (17:12 +0000)
app/assets/javascripts/user.js

index 3bdb35470c24320c21c8e6f276bf41c082f88d7a..8e4410fcee0568d04e2297a178205c60df144454 100644 (file)
@@ -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() {