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

View file

@ -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) {