tomhughes left a comment (openstreetmap/openstreetmap-website#6599)
Is there really not a simpler way of blocking enter in the search field than
this?
This is actually blocking all enter presses in the dialog unless they're on one
of the language entries but I believe it's only the input field that's actually
a problem so maybe we can just put something on that field?
If it does need to be done by intercepting keydown do we really need to check
both the name and the code?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6599#issuecomment-3629348981
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6599/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev