styled dl password input a bit

This commit is contained in:
Danny Coates 2018-10-30 14:00:37 -07:00
parent 26a943939d
commit c359678226
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 24 additions and 21 deletions

View file

@ -233,11 +233,7 @@ export default function(state, emitter) {
await dl;
const time = Date.now() - start;
const speed = size / (time / 1000);
if (document.querySelector('.page')) {
await delay(1000);
}
state.storage.totalDownloads += 1;
state.transfer.reset();
metrics.completedDownload({ size, time, speed });
} catch (err) {
if (err.message === '0') {