diff --git a/static/index.js b/static/index.js index 20984f7..e6900da 100644 --- a/static/index.js +++ b/static/index.js @@ -33,6 +33,6 @@ async function main(e) { form.addEventListener('submit', main); -document.getElementById('.send').addEventListener('click',function() { +document.querySelector('.send').addEventListener('click',function() { main({preventDefault: () => {}}) }) \ No newline at end of file