fixed a typo

This commit is contained in:
Djalim Simaila 2023-01-15 13:10:49 +01:00
parent e2b6336507
commit c523991a4b

View File

@ -223,8 +223,8 @@ function initSock(){
let emotionDesc = document.createElement("p");
emotionDesc.classList.add("explain_suspect_emotion_description");
//TODO fix typos here and on the database
emotionDesc.textContent = "Qui se caractérise par un " + finalResults["npcs"][npcid]["description"];
//TODO fix typos on the database
emotionDesc.textContent = "Qui se caractérise par " + finalResults["npcs"][npcid]["description"];
suspect.appendChild(emotionDesc)
document.getElementsByClassName("suspects_list")[0].appendChild(suspect)