Merge pull request #12438 from jipexu/main

typo
This commit is contained in:
Tim Schaub
2021-06-25 18:34:14 -06:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -140,7 +140,7 @@ function download(fullpath, filename) {
})
.then(function (blob) {
if (navigator.msSaveBlob) {
// link download attribuute does not work on MS browsers
// link download attribute does not work on MS browsers
navigator.msSaveBlob(blob, filename);
} else {
link.href = URL.createObjectURL(blob);

View File

@@ -108,7 +108,7 @@ function download(fullpath, filename) {
})
.then(function (blob) {
if (navigator.msSaveBlob) {
// link download attribuute does not work on MS browsers
// link download attribute does not work on MS browsers
navigator.msSaveBlob(blob, filename);
} else {
link.href = URL.createObjectURL(blob);

View File

@@ -102,7 +102,7 @@ function download(fullpath, filename) {
})
.then(function (blob) {
if (navigator.msSaveBlob) {
// link download attribuute does not work on MS browsers
// link download attribute does not work on MS browsers
navigator.msSaveBlob(blob, filename);
} else {
link.href = URL.createObjectURL(blob);

View File

@@ -53,7 +53,7 @@ document.getElementById('export-png').addEventListener('click', function () {
}
);
if (navigator.msSaveBlob) {
// link download attribuute does not work on MS browsers
// link download attribute does not work on MS browsers
navigator.msSaveBlob(mapCanvas.msToBlob(), 'map.png');
} else {
const link = document.getElementById('image-download');