From a1d0eef8a59dcaae293dc62c9e455d1ebc648f3c Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Thu, 17 Aug 2017 09:46:51 -0700 Subject: [PATCH] debugging #524 --- frontend/src/download.js | 1 + frontend/src/upload.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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();