Cleanup of old dev stuff
This commit is contained in:
@@ -960,13 +960,11 @@
|
||||
const a = document.createElement('a');
|
||||
a.style.display = 'none';
|
||||
a.href = url;
|
||||
// the filename you want
|
||||
a.download = filename;
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
window.URL.revokeObjectURL(url);
|
||||
window.notify("success", "Download gestartet...");
|
||||
//alert('your file has downloaded!'); // or you know, something with better UX...
|
||||
})
|
||||
.catch(() => {
|
||||
window.notify("error", "Fehler beim Download des AH-Blatts");
|
||||
|
||||
Reference in New Issue
Block a user