Merge pull request #2792 from pgiraud/gpx_export_chrome

Use valid mediatype for GPX export.
This commit is contained in:
Pierre GIRAUD
2014-10-03 13:50:32 +02:00

View File

@@ -110,7 +110,7 @@ if ('download' in exportGPXElement) {
/** @type {Node} */ (node));
var base64 = exampleNS.strToBase64(string);
exportGPXElement.href =
'data:gpx+xml;base64,' + base64;
'data:text/gpx+xml;base64,' + base64;
}
}, false);
} else {