add cancel buttons
This commit is contained in:
parent
c9ae76b209
commit
4c64593262
9 changed files with 72 additions and 31 deletions
|
@ -228,7 +228,6 @@ export default function(state, emitter) {
|
|||
state.storage.totalDownloads += 1;
|
||||
state.transfer.reset();
|
||||
metrics.completedDownload({ size, time, speed });
|
||||
//emitter.emit('pushState', '/completed');
|
||||
} catch (err) {
|
||||
if (err.message === '0') {
|
||||
// download cancelled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue