Merge pull request #617 from mozilla/drop-nav
allow drag and drop if navigating from shared page
This commit is contained in:
commit
789d67209c
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