[openstreetmap/openstreetmap-website] Enable more linting rules (PR #5643)
Anton Khorev
notifications at github.com
Mon Feb 10 13:46:24 UTC 2025
@AntonKhorev commented on this pull request.
> + .get(0)
+ .scrollIntoView({ block: "nearest" });
This is a misleading change. `scrollIntoView` is not called on the same object as `text` and `prop`. You'd have to assign the result of `get` to some variable.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5643#pullrequestreview-2605808802
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5643/review/2605808802 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250210/c5563e27/attachment.htm>
More information about the rails-dev
mailing list