X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/833579778a8ec756fd6ae30a458ee89224ad3a3c..2160f820ac9fe3f78deb97a3a4285e9bf8daa095:/app/assets/javascripts/user.js diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js index 1c73d3430..bdf044305 100644 --- a/app/assets/javascripts/user.js +++ b/app/assets/javascripts/user.js @@ -85,6 +85,10 @@ $(document).ready(function () { $("select#user_auth_provider").on("change", updateAuthUID); + $("input#user_image").on("change", function () { + $("#image_action_new").prop("checked", true); + }); + function enableAuth() { $("#auth_prompt").hide(); $("#auth_field").show();