@mmd-osm commented on this pull request.


>    $("input#user_avatar").on("change", function () {
     $("#user_avatar_action_new").prop("checked", true);
   });
 
-  function enableAuth() {
-    $("#auth_prompt").hide();
-    $("#auth_field").show();
-    $("#user_auth_uid").prop("disabled", false);
-  }
-
-  function disableAuth() {
-    $("#auth_prompt").show();
-    $("#auth_field").hide();
-    $("#user_auth_uid").prop("disabled", true);
-  }
-
-  $("#auth_enable").click(enableAuth);

I removed auth_enable, auth_prompt and auth_field because I couldn't find them 
anywhere else and they seem to be stale. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6038#pullrequestreview-2866906203
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6038/review/2866906...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to