openstreetmap-website/app/assets/javascripts
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
..
edit Remove both Potlatch versions 2021-01-05 21:18:45 +00:00
index Remove conditional for polyline layer 2021-01-28 10:31:33 +00:00
application.js Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
bs-custom-file-input-init.js Use bootstrap_form as the formbuilder for GPX upload form 2020-07-01 17:23:02 +02:00
diary_entry.js Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
embed.js.erb Add CyclOSM layer 2020-12-06 21:29:36 +01:00
fixthemap.js Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
id.js Remove both Potlatch versions 2021-01-05 21:18:45 +00:00
index.js Fix locate control popup on the main map to use new translations 2021-01-27 13:48:54 +00:00
leaflet.key.js Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
leaflet.layers.js Merge remote-tracking branch 'upstream/pull/2667' 2020-08-05 21:50:08 +01:00
leaflet.map.js Add CyclOSM layer 2020-12-06 21:29:36 +01:00
leaflet.note.js Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
leaflet.query.js Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
leaflet.share.js Avoid concatenating text to a translation 2021-01-21 17:15:27 +00:00
leaflet.sidebar.js Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
leaflet.zoom.js Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
login.js Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
messages.js Avoid using inline javascript to update message list 2018-05-30 15:30:23 +01:00
oauth.js Move ohauth to be a yarn managed asset 2020-08-06 19:28:51 +01:00
osm.js.erb Correct path for mapnik marker images 2020-08-08 11:00:47 +01:00
piwik.js Fix issues found by eslint 2019-04-01 22:03:39 +01:00
richtext.js Fix issues found by eslint 2019-04-01 22:03:39 +01:00
router.js Enable a few more eslint checks 2019-07-14 12:08:02 +01:00
user.js Move leaflet.locatecontrol to be a yarn managed asset 2020-08-06 19:28:51 +01:00
welcome.js Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00