openstreetmap-website/app/assets/javascripts/index
Tucker Chapman d257e67842 Remove conditional for polyline layer
When a user searches for a route and one is not found the polyline
layer is removed - if they then change the mode of transportation the
event listener will not reroute if there is no polyline layer.

This commit removes the conditional that prevents the routing code from
re-running after the polyline has been removed.

Fixes #3050
Closes #3055
2021-01-28 10:31:33 +00:00
..
directions turn_costs=true only for car 2020-07-27 13:04:52 +02:00
browse.js Convert data feature warning to use bootstrap alert 2020-07-15 19:34:19 +02:00
changeset.js Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
contextmenu.js Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
directions.js Remove conditional for polyline layer 2021-01-28 10:31:33 +00:00
export.js Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
history.js Move jquery.simulate to be a yarn managed asset 2020-08-06 19:19:55 +01:00
new_note.js Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
note.js Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
notes.js Enable a few more eslint checks 2019-07-14 12:08:02 +01:00
query.js Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
search.js Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00