diff --git a/public/react/src/modules/courses/Resource/Fileslistitem.js b/public/react/src/modules/courses/Resource/Fileslistitem.js index 91d4738d5..6a1e16d6d 100644 --- a/public/react/src/modules/courses/Resource/Fileslistitem.js +++ b/public/react/src/modules/courses/Resource/Fileslistitem.js @@ -31,7 +31,8 @@ class Fileslistitem extends Component{ downloadfiles=(url,name)=>{ const aLink = document.createElement('a'); aLink.style.display='none'; - aLink.download =name; + console.log(name) + aLink.setAttribute('download',name) aLink.href = url; document.body.appendChild(aLink); aLink.click();