Merge pull request #617 from mozilla/drop-nav

allow drag and drop if navigating from shared page
This commit is contained in:
Danny Coates 2017-10-30 10:20:56 -07:00 committed by GitHub
commit 789d67209c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ export default function(state, emitter) {
await fadeOut('download-progress');
saveFile(f);
state.storage.totalDownloads += 1;
state.transfer = null;
metrics.completedDownload({ size, time, speed });
emitter.emit('pushState', '/completed');
} catch (err) {