From b8353f78cede63b2c969bec8e9b61108764af46a Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 21 Jul 2024 22:50:15 +0200 Subject: [PATCH] typo fixed --- api_webchat/messagesArea.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_webchat/messagesArea.js b/api_webchat/messagesArea.js index 072730f4..bae388c1 100644 --- a/api_webchat/messagesArea.js +++ b/api_webchat/messagesArea.js @@ -146,7 +146,7 @@ class MessagesArea extends HTMLElement { const actionButton = document.createElement('button'); actionButton.textContent = 'Send'; actionButton.addEventListener('click', () => { - alert(this.fullText); + alert(this.fullTextHTML); }); actionButtons.appendChild(actionButton); this.messages.appendChild(actionButtons);