Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Hide cancel button when upload reached 100%
  • Loading branch information
ericawright committed Oct 4, 2017
commit e1e8af2489943296f4bef5b53c481f68f03460ca
1 change: 1 addition & 0 deletions app/fileManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export default function(state, emitter) {
const time = Date.now() - start;
const speed = size / (time / 1000);
metrics.completedUpload({ size, time, speed, type });
document.getElementById('cancel-upload').hidden = 'hidden';
await delay(1000);
await fadeOut('upload-progress');
info.name = file.name;
Expand Down