From cea9f2250a01dee0d398139be5d8946d5a4dde51 Mon Sep 17 00:00:00 2001 From: Kerboul Date: Thu, 24 Oct 2024 17:16:00 +0200 Subject: [PATCH] update projet_detail.html and projet_detail.js --- js/projet_detail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/projet_detail.js b/js/projet_detail.js index c24b1a1..14886bd 100644 --- a/js/projet_detail.js +++ b/js/projet_detail.js @@ -52,8 +52,8 @@ document.addEventListener("DOMContentLoaded", () => { document.getElementById("name_project").innerHTML=global_project_list[projectId-1].titre; fetch("https://timelapse.kerboul.me/api/smile") - .then(response => response.blob()) - .then(blob => { + .then(response => response.blob()) + .then(blob => { const url = URL.createObjectURL(blob); const imageElement = document.getElementById("my-image"); imageElement.src = url;