[openstreetmap/openstreetmap-website] sidebar_classic_pagination - width calculation not clear (Issue #5105)

Anton Khorev notifications at github.com
Fri Sep 13 15:47:22 UTC 2024


If you look at the original, you'll notice `|body, n|` instead of `|body|` which destructures the 2-element array. In https://github.com/openstreetmap/openstreetmap-website/commit/d404bc04d542d381a3233e8cf461f5c9fb981af2 I deleted `n`, probably to avoid warnings about unused variable, not noticing that it also disables destructuring.

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

Message ID: <openstreetmap/openstreetmap-website/issues/5105/2349260230 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240913/b576f8ac/attachment.htm>


More information about the rails-dev mailing list