[openstreetmap/openstreetmap-website] Get directions using fetch (PR #5642)
Marwin Hochfelsner
notifications at github.com
Tue Feb 11 08:05:43 UTC 2025
@hlfan commented on this pull request.
> @@ -3,7 +3,8 @@
//= require_tree ./directions
OSM.Directions = function (map) {
- var routeRequest = null; // jqXHR object of an ongoing route request or null
+ let awaitingRoute = false; // true if a route request is in progress
Yeah, the controller could double as the bool like the jqXHR object did earlier.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5642#discussion_r1950392259
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5642/review/2607956133 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250211/468d9c2d/attachment.htm>
More information about the rails-dev
mailing list