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;