]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Use lazy lookups for translations in issues
[rails.git] / app / assets / javascripts / user.js
index 1c73d3430456e6016cb48c528a0d89ab1d870366..bdf0443056329df566e07fbc880dd8ea3153b79c 100644 (file)
@@ -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();