add a comment

This commit is contained in:
taehoon 2019-04-29 13:53:21 -04:00
parent ab19669bf1
commit a793835566

View file

@ -38,6 +38,7 @@ const Exporter = {
document.body.appendChild(fileToDownload) document.body.appendChild(fileToDownload)
fileToDownload.click() fileToDownload.click()
document.body.removeChild(fileToDownload) document.body.removeChild(fileToDownload)
// Add delay before hiding processing state since browser takes some time to handle file download
setTimeout(() => { this.processing = false }, 2000) setTimeout(() => { this.processing = false }, 2000)
}) })
} }