aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/helpers/routes_map.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/helpers/routes_map.coffee b/app/javascript/helpers/routes_map.coffee
index 479169995..42377cd6e 100644
--- a/app/javascript/helpers/routes_map.coffee
+++ b/app/javascript/helpers/routes_map.coffee
@@ -30,7 +30,8 @@ RoutesLayersControl = (routes, routes_map) ->
Object.keys(routes).forEach (id)=>
route = routes[id]
route.active = true
- label = document.createElement('div')
+ label = document.createElement('a')
+ label.title = route.name
label.className = 'active'
label.innerHTML = route.name
element.appendChild label