1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 21:22:35 +01:00
This commit is contained in:
Danny Coates 2017-08-17 09:46:51 -07:00
parent 254b806fb4
commit a1d0eef8a5
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
2 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,7 @@ async function download() {
window.addEventListener('unload', unloadHandler);
fileReceiver.on('progress', data => {
console.log(`${data[0]}/${data[1]}`);
progress.setProgress({ complete: data[0], total: data[1] });
});

View File

@ -227,7 +227,6 @@ document.addEventListener('DOMContentLoaded', function() {
//disable button for 3s
copyBtn.disabled = true;
link.disabled = true;
copyBtn.removeAttribute('data-l10n-id');
copyBtn.innerHTML = `<img src="${checkImg}" class="icon-check"></img>`;
setTimeout(() => {
copyBtn.disabled = !allowedCopy();