remove double click on single click link

This commit is contained in:
The Ghost of FOSS' Past 2024-10-28 12:53:10 -05:00
parent 7fde73ca6b
commit dadd64514e

View file

@ -36,7 +36,6 @@ document.getElementById('search-button').addEventListener('click', async () => {
a.href = url; a.href = url;
a.download = `${video.title}.webm`; // You might want to set this dynamically a.download = `${video.title}.webm`; // You might want to set this dynamically
document.body.appendChild(a); document.body.appendChild(a);
a.click();
window.URL.revokeObjectURL(url); window.URL.revokeObjectURL(url);
}); });
}); });