Feat: botão BNCC passa a preencher o input do chat ao invés de enviar imediatamente
This commit is contained in:
@@ -2299,6 +2299,12 @@ const initApp = () => {
|
||||
handleSendMessage(btn.dataset.prompt);
|
||||
return;
|
||||
}
|
||||
if (btn.dataset.fill) {
|
||||
userInput.value = btn.dataset.fill;
|
||||
userInput.focus();
|
||||
btnSend.disabled = false;
|
||||
return;
|
||||
}
|
||||
if (btn.id === 'barBtnEstudio') return; // Manipulado separadamente
|
||||
if (btn.id === 'barBtnComics') return; // Manipulado separadamente
|
||||
if (btn.id === 'barBtnMusica') return;
|
||||
|
||||
Reference in New Issue
Block a user