mirror of
https://github.com/szimek/sharedrop.git
synced 2026-06-13 21:03:07 +08:00
Fix removing file
This commit is contained in:
parent
356ef34b06
commit
8da93d875e
@ -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);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user