Commit e05566d5 authored by Michael Ochmann's avatar Michael Ochmann
Browse files

.

parent 18a90fd3
......@@ -162,7 +162,7 @@ class ViewController extends UIViewController {
let blob = new Blob([Std.StringToBinary(new GeoJSONCollection(track).toString())], { type: mediaType });
let blobUrl = URL.createObjectURL(blob);
link.setAttribute("style", "cursor: pointer");
link.style.cursor = "pointer";
document.body.appendChild(link);
link.download = `${track.name.toLowerCase().replace(new RegExp(" ", "g"), '_')}.json`;
link.href = blobUrl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment