diff --git a/web/index.html b/web/index.html index 989ae99..52a2440 100644 --- a/web/index.html +++ b/web/index.html @@ -650,7 +650,7 @@
API Keys
element.innerText = text; } -function setButtonEnviarText(text){ +function setButtonSendText(text){ const element = document.getElementById('btnSendUserInput'); element.innerHTML = text; } @@ -667,14 +667,14 @@
API Keys
loading = true; disableUserInteraction(); const loadingIcon = ''; - setButtonEnviarText(loadingIcon); + setButtonSendText(loadingIcon); } function disableLoading(){ loading = false; enableUserInteraction(); const sendIcon = ''; - setButtonEnviarText(sendIcon); + setButtonSendText(sendIcon); clearInput() } @@ -769,7 +769,7 @@
API Keys
} onChangeModeSelect(); -async function onClickEnviarButton(){ +async function onClickSendButton(){ const element = document.getElementById('btnSendUserInput'); element.addEventListener('click', async () => { @@ -790,7 +790,7 @@
API Keys
}); } -onClickEnviarButton(); +onClickSendButton(); async function onClickClearChatButton(){ const button = document.getElementById('btnClearChat');