added listeners to the questions buttons

This commit is contained in:
Djalim Simaila 2023-01-14 20:47:28 +01:00
parent d0dae92c21
commit dbd51e6bf8

View File

@ -23,6 +23,11 @@ function setListenerToInterrogationNextBtn(){
document.getElementById("interrogation_next_btn").addEventListener("click", showEmotionAndCulpritChoicesView)
}
function setQuestionButtonsListeners(){
document.getElementById("QA_0").addEventListener("click",askTypeZeroQuestion);
document.getElementById("QA_1").addEventListener("click",askTypeOneQuestion);
}
function goBackToInterogation(){
hide("interrogation_suspect");
show("interrogation");