@AntonKhorev commented on this pull request.
>
- map.setSidebarOverlaid(!endpoints[0].latlng || !endpoints[1].latlng);
- }
+ map.setSidebarOverlaid(!endpoints[0].latlng || !endpoints[1].latlng);
And after that `OSM.loadSidebarContent` resets it.
`map.setSidebarOverlaid` is here to counter sidebar flickering the conditions
for which I don't exactly remember. So it's possible that it's not needed
anymore, but not because `page.load` calls it.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5961#discussion_r2064557663
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5961/review/2800726...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev