diff --git a/frontend/src/download.js b/frontend/src/download.js index 2d348cba..1d7a9470 100644 --- a/frontend/src/download.js +++ b/frontend/src/download.js @@ -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] }); }); diff --git a/frontend/src/upload.js b/frontend/src/upload.js index 7b2ccab0..6133dd34 100644 --- a/frontend/src/upload.js +++ b/frontend/src/upload.js @@ -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 = ``; setTimeout(() => { copyBtn.disabled = !allowedCopy();