From a1fd70132fa3f5499a8c53dc90408c065af51d85 Mon Sep 17 00:00:00 2001 From: Cedric Date: Sun, 21 Jun 2026 13:18:45 +0200 Subject: [PATCH] Actualiser js/public.js --- js/public.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/public.js b/js/public.js index 56300c2..cce373b 100644 --- a/js/public.js +++ b/js/public.js @@ -160,7 +160,7 @@ function renderPublicGrid() { } if (f.type === 'critique') { - const starsHTML = getStarsHTML(f.rating) + `${parseFloat(f.rating).toFixed(1)}`; + const starsHTML = getStarsHTML(f.rating) + `${parseFloat(f.rating)}`; card.innerHTML = ` ${posterHTML} ${streamingBadge} @@ -275,7 +275,7 @@ function openDetail(id) { if (dBody) { if (f.type === 'critique') { - const stars = getStarsHTML(f.rating) + `${parseFloat(f.rating).toFixed(1)}/5`; + const stars = getStarsHTML(f.rating) + `${parseFloat(f.rating)}/5`; dBody.innerHTML = `
${stars}