firefox, chrome, safari, edge all working, pr changes included
This commit is contained in:
parent
fdb0734208
commit
6cb1fc433e
8 changed files with 634 additions and 46 deletions
|
@ -42,6 +42,11 @@ $(document).ready(function() {
|
|||
|
||||
let a = document.createElement('a');
|
||||
a.href = downloadUrl;
|
||||
if (window.navigator.msSaveBlob) {
|
||||
// if we are in microsoft edge or IE
|
||||
window.navigator.msSaveBlob(blob, fname);
|
||||
return;
|
||||
}
|
||||
a.download = fname;
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue