[openstreetmap/openstreetmap-website] Fix outputting route before directions sidebar is loaded (PR #5961)

Tom Hughes notifications at github.com
Mon Apr 28 18:14:33 UTC 2025


@tomhughes commented on this pull request.



>  
-      map.setSidebarOverlaid(!endpoints[0].latlng || !endpoints[1].latlng);
-    }
+    map.setSidebarOverlaid(!endpoints[0].latlng || !endpoints[1].latlng);

Is this still needed now that we always call `page.load` and it does the same thing?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5961#pullrequestreview-2800243392
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5961/review/2800243392 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250428/30134c2f/attachment.htm>


More information about the rails-dev mailing list