X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cf3c627c1ab7c64c219acc8ecff526f21db0c5e1..7869631e83a7686c06d92aaefb8a23245e930b57:/app/assets/javascripts/index/directions.js?ds=sidebyside
diff --git a/app/assets/javascripts/index/directions.js b/app/assets/javascripts/index/directions.js
index 40ca85d96..89888bbd1 100644
--- a/app/assets/javascripts/index/directions.js
+++ b/app/assets/javascripts/index/directions.js
@@ -134,7 +134,7 @@ OSM.Directions = function (map) {
// copy loading item to sidebar and display it. we copy it, rather than
// just using it in-place and replacing it in case it has to be used
// again.
- $("#sidebar_content").html($(".directions_form .loader_copy").html());
+ $("#directions_content").html($(".directions_form .loader_copy").html());
map.setSidebarOverlaid(false);
controller = new AbortController();
chosenEngine.getRoute(points, controller.signal).then(function (route) {
@@ -158,16 +158,10 @@ OSM.Directions = function (map) {
const turnByTurnTable = $("