debugging #524
This commit is contained in:
parent
254b806fb4
commit
a1d0eef8a5
2 changed files with 1 additions and 1 deletions
|
@ -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] });
|
||||
});
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue