mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac
This commit is contained in:
parent
d11c373cf1
commit
c9137edf5a
1 changed files with 3 additions and 1 deletions
|
|
@ -297,9 +297,11 @@
|
||||||
|
|
||||||
const submitPrompt = async (userPrompt, _user = null) => {
|
const submitPrompt = async (userPrompt, _user = null) => {
|
||||||
// Reset chat input textarea
|
// Reset chat input textarea
|
||||||
prompt = '';
|
document.getElementById('chat-textarea').value = '';
|
||||||
document.getElementById('chat-textarea').style.height = '';
|
document.getElementById('chat-textarea').style.height = '';
|
||||||
|
|
||||||
|
prompt = '';
|
||||||
|
|
||||||
let _responses = [];
|
let _responses = [];
|
||||||
console.log('submitPrompt', $chatId);
|
console.log('submitPrompt', $chatId);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue