Skip to content

Commit

Permalink
Add more controls #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobiform committed Apr 19, 2024
1 parent 365cc24 commit 4334d13
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@


<script>

let timeout = null;
const delay = 1000;


document.getElementById('searchForUser').addEventListener('submit', function(event) {
event.preventDefault();
const query = document.getElementById('searchUser').value;
Expand Down Expand Up @@ -120,7 +125,7 @@
const form = document.getElementById('searchForUser');
form.submit();
}

</script>


Expand Down

0 comments on commit 4334d13

Please sign in to comment.