allow drag and drop if navigating from shared page
This commit is contained in:
parent
acbf9fc32f
commit
41cb49141b
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ export default function(state, emitter) {
|
||||||
await fadeOut('download-progress');
|
await fadeOut('download-progress');
|
||||||
saveFile(f);
|
saveFile(f);
|
||||||
state.storage.totalDownloads += 1;
|
state.storage.totalDownloads += 1;
|
||||||
|
state.transfer = null;
|
||||||
metrics.completedDownload({ size, time, speed });
|
metrics.completedDownload({ size, time, speed });
|
||||||
emitter.emit('pushState', '/completed');
|
emitter.emit('pushState', '/completed');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in a new issue