[openstreetmap/openstreetmap-website] Add some javascript to check dynamically if the username is already taken (PR #4402)

Anton Khorev notifications at github.com
Wed Dec 13 14:23:11 UTC 2023


@AntonKhorev commented on this pull request.



> +  $("#user_display_name").on("change", function () {
+    checkDisplayName()
+  })
+
+  $("#user_display_name").on("input", function () {
+    checkDisplayName()
+  })

Isn't only `input` handler enough?

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

Message ID: <openstreetmap/openstreetmap-website/pull/4402/review/1779757207 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231213/f76c3870/attachment.htm>


More information about the rails-dev mailing list