[openstreetmap/openstreetmap-website] Add kilometers/miles switch to directions (PR #5915)

Anton Khorev notifications at github.com
Fri Apr 11 13:16:05 UTC 2025


@AntonKhorev commented on this pull request.



>      URL.revokeObjectURL(downloadURL);
     downloadURL = URL.createObjectURL(blob);
+    $("#directions_route_download").prop("href", downloadURL);

I'm saying that it's not a string variable that preserves the value you put in it.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5915/review/2760340811 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250411/d2db341c/attachment.htm>


More information about the rails-dev mailing list