anarkrypto / upload-files-to-ipfs-from-browser-panel

Upload Files to IPFS from Browser - Panel
https://anarkrypto.github.io/upload-files-to-ipfs-from-browser-panel/public
MIT License
87 stars 35 forks source link

fixing lastModifiedDate reference #1

Closed JefterRocha closed 4 years ago

JefterRocha commented 4 years ago

On Mozilla Firefox, the File object's lastModifiedDate prop doesn't exist. So this can be changed to lastModified. I think this may fix the problem on mobile devices too! I tested locally and it worked.