Handle Edge 17 and earlier versions
This commit is contained in:
parent
481b28759c
commit
ca489cbff0
2 changed files with 4 additions and 2 deletions
|
|
@ -574,7 +574,7 @@
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset class="form-group row">
|
||||
<fieldset id="export-format" class="form-group row">
|
||||
<legend
|
||||
class="col-form-legend col-sm-2"
|
||||
data-i18n="export.format"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,9 @@ BR.Export = L.Class.extend({
|
|||
|
||||
_export: function() {
|
||||
var exportForm = document.forms['export'];
|
||||
var format = exportForm['format'].value;
|
||||
var format =
|
||||
exportForm['format'].value ||
|
||||
$('#export-format input:radio:checked').val();
|
||||
var name = encodeURIComponent(exportForm['trackname'].value);
|
||||
|
||||
var uri = this.router.getUrl(this.latLngs, format, name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue