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