finalizare 1.0
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
window.downloadFile = function (filename, href) {
|
||||
var link = document.createElement('a');
|
||||
link.href = href;
|
||||
link.download = filename;
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
document.body.removeChild(link);
|
||||
};
|
||||
Reference in New Issue
Block a user