[openstreetmap/openstreetmap-website] Prevent default event when clicking OpenID button (PR #4558)
Anton Khorev
notifications at github.com
Tue Mar 5 09:30:01 UTC 2024
Fixes this:
Open a window with small height, go to the login page, scroll down to the OpenId button.

Press the button. The view scroll to the top, away from the revealed OpenId form.

You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4558
-- Commit Summary --
* Prevent default event when clicking OpenID button
-- File Changes --
M app/assets/javascripts/login.js (3)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4558.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4558.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4558
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4558 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240305/9bcf30f7/attachment-0001.htm>
More information about the rails-dev
mailing list