From a793835566d478503f4cadf7970ad62476dd75ac Mon Sep 17 00:00:00 2001 From: taehoon Date: Mon, 29 Apr 2019 13:53:21 -0400 Subject: [PATCH] add a comment --- src/components/exporter/exporter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/exporter/exporter.js b/src/components/exporter/exporter.js index 2ae9492c..8f507416 100644 --- a/src/components/exporter/exporter.js +++ b/src/components/exporter/exporter.js @@ -38,6 +38,7 @@ const Exporter = { document.body.appendChild(fileToDownload) fileToDownload.click() document.body.removeChild(fileToDownload) + // Add delay before hiding processing state since browser takes some time to handle file download setTimeout(() => { this.processing = false }, 2000) }) }