From 80f576a29b2dd45757c48740a74683c699648c05 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 16 Feb 2021 17:12:34 +0000 Subject: [PATCH] Fix avatar mode update on file change --- app/assets/javascripts/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5