Merge pull request #59 from alaincao/master
Fixed IE11 download page link not working
This commit is contained in:
@@ -120,7 +120,10 @@
|
||||
const aEl = document.createElement('a');
|
||||
aEl.setAttribute('href', file.url);
|
||||
aEl.setAttribute('download', file.metadata.name);
|
||||
aEl.style.display = 'none';
|
||||
document.body.appendChild(aEl);
|
||||
aEl.click();
|
||||
aEl.remove();
|
||||
file.downloaded = true;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user