update projet_detail.html and projet_detail.js
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user