Rework the include wording in the export modal

This commit is contained in:
Phyks (Lucas Verney) 2019-07-20 19:43:07 +02:00
parent c1169c5c6a
commit 5dc7445d62
3 changed files with 21 additions and 22 deletions

View file

@ -45,13 +45,13 @@ BR.Export = L.Class.extend({
exportForm['format'].value ||
$('#export-format input:radio:checked').val();
var name = encodeURIComponent(exportForm['trackname'].value);
var exportWaypoints = exportForm['export-waypoints'].checked;
var includeWaypoints = exportForm['include-waypoints'].checked;
var uri = this.router.getUrl(
this.latLngs,
format,
name,
exportWaypoints
includeWaypoints
);
var evt = document.createEvent('MouseEvents');