mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't trigger "Send" to continue if pending file attachments
Fixes #2763
This commit is contained in:
@@ -1889,6 +1889,7 @@ export async function sendTextareaMessage() {
|
||||
// message was sent from a character (not the user or the system).
|
||||
const textareaText = String($('#send_textarea').val());
|
||||
if (power_user.continue_on_send &&
|
||||
!hasPendingFileAttachment() &&
|
||||
!textareaText &&
|
||||
!selected_group &&
|
||||
chat.length &&
|
||||
|
Reference in New Issue
Block a user