mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 21:42:58 +00:00
refac
This commit is contained in:
parent
d11c373cf1
commit
c9137edf5a
@ -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 New Issue
Block a user