Bugfix: i've broken the download() function

This commit is contained in:
djmaze 2020-09-04 16:11:57 +02:00
parent 097fb4896d
commit 0647b5201f

View file

@ -69,9 +69,8 @@ class AbstractApp extends AbstractBoot {
} else {
const oLink = document.createElement('a');
oLink.href = link;
document.body.append(oLink).click();
document.body.appendChild(oLink).click();
oLink.remove();
// open(link, '_self');
}
return true;
}