From 8da93d875ed50ca4924008e4e04e645db1024a5d Mon Sep 17 00:00:00 2001 From: Szymon Nowak Date: Thu, 6 Mar 2014 08:45:07 +0100 Subject: [PATCH] Fix removing file --- app/scripts/app/lib/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/app/lib/file.js b/app/scripts/app/lib/file.js index 0eb72af..1730aa2 100644 --- a/app/scripts/app/lib/file.js +++ b/app/scripts/app/lib/file.js @@ -116,7 +116,7 @@ FileDrop.File.prototype.save = function () { // Remove file entry from filesystem. setTimeout(function () { self.remove().then(self._reset); - }, 1); // Hack, but otherwise browser doesn't save the file at all. + }, 100); // Hack, but otherwise browser doesn't save the file at all. a.parentNode.removeChild(a); });