- add real stats and history game in profil page
    - search will send now request in lower case in profile page
    - add key enter in search bar in profile page
This commit is contained in:
Kum1ta
2024-09-28 20:31:43 +02:00
parent 10d14d8e60
commit 05b7c5b0b9
8 changed files with 82 additions and 26 deletions

View File

@ -6,7 +6,7 @@
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/22 17:08:46 by madegryc #+# #+# */
/* Updated: 2024/09/27 23:21:25 by edbernar ### ########.fr */
/* Updated: 2024/09/28 16:58:08 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
@ -109,7 +109,7 @@ function searchUser(event)
else
{
timeout = setTimeout(() => {
sendRequest("search_user", {username: event.target.value});
sendRequest("search_user", {username: event.target.value.toLowerCase()});
}, 10);
}
}