Add comments to PHP and JS files

Co-authored-by: LeOSW42 <673670+LeOSW42@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-24 15:11:48 +00:00
parent bb8e2d9746
commit 7f0143604c
25 changed files with 177 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
// Gestion de l'upload et suppression d'avatar côté client.
$(window).ready(function() {
$("#deleteavatar").click(function() {
$("aside").removeClass("avatar").addClass("noavatar");
@@ -27,6 +28,7 @@ $(window).ready(function() {
});
// Prévisualisation du fichier image dans le profil.
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
@@ -37,4 +39,4 @@ function readURL(input) {
reader.readAsDataURL(input.files[0]);
}
}$
}