projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7913592
)
Use bolded version of destinations
author
Tom Hughes
<tom@compton.nu>
Sun, 25 Feb 2018 21:29:54 +0000
(21:29 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 25 Feb 2018 21:29:54 +0000
(21:29 +0000)
app/assets/javascripts/index/directions/osrm.js
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/index/directions/osrm.js
b/app/assets/javascripts/index/directions/osrm.js
index f2276c11f3c7c6e604304efc6829a971627e0a7e..84f085c5a6c942cc16f0cc8fcb6344989d7ff2db 100644
(file)
--- 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("_");