Lobby page

- add auto scroll when click on gamemode
Profile page
    - fix some bug
This commit is contained in:
Kum1ta
2024-11-14 16:55:03 +01:00
parent 2f8eca141a
commit 5fa02a32cd
2 changed files with 46 additions and 11 deletions

View File

@ -6,7 +6,7 @@
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/19 23:08:31 by edbernar #+# #+# */
/* Updated: 2024/10/28 22:56:32 by edbernar ### ########.fr */
/* Updated: 2024/11/14 15:27:15 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
@ -153,12 +153,11 @@ function inputChange(isPfp, event)
let binary = '';
const bytes = new Uint8Array(buffer);
const len = bytes.byteLength;
for (let i = 0; i < len; i++) {
for (let i = 0; i < len; i++)
binary += String.fromCharCode(bytes[i]);
}
return window.btoa(binary);
}
if (validTypes.includes(file.type))
}
if (file && validTypes.includes(file.type))
{
reader.onload = (e) => {
const arrayBuffer = e.target.result;