erreur chatbot
This commit is contained in:
@ -270,12 +270,3 @@ async loadHelpRemaining() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialisation automatique si tentativeId existe
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
|
||||||
// À adapter : récupérer tentativeId de ton code
|
|
||||||
const tentativeId = document.querySelector('[data-tentative-id]')?.dataset.tentativeId;
|
|
||||||
|
|
||||||
if (tentativeId) {
|
|
||||||
window.chatbot = new ChatbotIA(tentativeId);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
Reference in New Issue
Block a user