[openstreetmap/openstreetmap-website] Scrollable pagination javascript module (PR #6304)
Tom Hughes
notifications at github.com
Sun Aug 10 14:27:33 UTC 2025
@tomhughes commented on this pull request.
> @@ -5,7 +5,7 @@
const isOfExpectedLanguage = ({ language }) => languagesToRequest[0].startsWith(language) || language === "mul";
$(document).on("click", "a[href='#versions-navigation-active-page-item']", function (e) {
- scrollToActiveVersion();
+ $(document).trigger("numbered_pagination:focus");
Should that be `:center` as there doesn't seem to be a `:focus` listener?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6304#pullrequestreview-3103643677
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6304/review/3103643677 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250810/3a2cc954/attachment.htm>
More information about the rails-dev
mailing list