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

Tom Hughes notifications at github.com
Wed Dec 13 08:24:12 UTC 2023


> But: Browsers without support will fail on parse of the `<script>` tag and fall back to behaviour which is live now "no direct user check".

Except inline script won't work anyway as the security policy doesn't allow it. I hadn't noticed this was inline - it needs to go in `app/assets/javascripts/user.js` instead in order to work.

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

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


More information about the rails-dev mailing list