Fix removing file

This commit is contained in:
Szymon Nowak 2014-03-06 08:45:07 +01:00
parent 356ef34b06
commit 8da93d875e

View File

@ -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);
});