From f9eccfe64f838ddf11abc9d6c198df5d67716493 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 25 Feb 2018 21:29:54 +0000 Subject: [PATCH] Use bolded version of destinations --- app/assets/javascripts/index/directions/osrm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/directions/osrm.js b/app/assets/javascripts/index/directions/osrm.js index f2276c11f..84f085c5a 100644 --- a/app/assets/javascripts/index/directions/osrm.js +++ b/app/assets/javascripts/index/directions/osrm.js @@ -119,7 +119,7 @@ function OSRMEngine() { } else if (step.maneuver.type.match(/on ramp|off ramp/)) { var params = {}; if (step.exits && step.maneuver.type.match(/off ramp/)) params.exit = step.exits; - if (step.destinations) params.directions = step.destinations; + if (step.destinations) params.directions = destinations; if (namedRoad) params.directions = name; if (Object.keys(params).length > 0) { template = template + "_with_" + Object.keys(params).join("_"); -- 2.43.2