debugging #524
This commit is contained in:
parent
254b806fb4
commit
a1d0eef8a5
@ -33,6 +33,7 @@ async function download() {
|
|||||||
window.addEventListener('unload', unloadHandler);
|
window.addEventListener('unload', unloadHandler);
|
||||||
|
|
||||||
fileReceiver.on('progress', data => {
|
fileReceiver.on('progress', data => {
|
||||||
|
console.log(`${data[0]}/${data[1]}`);
|
||||||
progress.setProgress({ complete: data[0], total: data[1] });
|
progress.setProgress({ complete: data[0], total: data[1] });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -227,7 +227,6 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
//disable button for 3s
|
//disable button for 3s
|
||||||
copyBtn.disabled = true;
|
copyBtn.disabled = true;
|
||||||
link.disabled = true;
|
link.disabled = true;
|
||||||
copyBtn.removeAttribute('data-l10n-id');
|
|
||||||
copyBtn.innerHTML = `<img src="${checkImg}" class="icon-check"></img>`;
|
copyBtn.innerHTML = `<img src="${checkImg}" class="icon-check"></img>`;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
copyBtn.disabled = !allowedCopy();
|
copyBtn.disabled = !allowedCopy();
|
||||||
|
Loading…
Reference in New Issue
Block a user