Handle Edge 17 and earlier versions
This commit is contained in:
parent
481b28759c
commit
ca489cbff0
2 changed files with 4 additions and 2 deletions
|
|
@ -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