From b7896e491139357cf2d6be97a8a15e29839d8663 Mon Sep 17 00:00:00 2001 From: nicoboy Date: Sun, 4 Jan 2026 09:29:40 +0100 Subject: [PATCH] erreur chatbot --- assets/js/chatbot.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/assets/js/chatbot.js b/assets/js/chatbot.js index 8fdc49d..9856938 100644 --- a/assets/js/chatbot.js +++ b/assets/js/chatbot.js @@ -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); - } -}); \ No newline at end of file