mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 21:22:35 +01:00
debugging #524
This commit is contained in:
parent
254b806fb4
commit
a1d0eef8a5
@ -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 New Issue
Block a user