Don't trigger "Send" to continue if pending file attachments
Fixes #2763
This commit is contained in:
parent
f5873aec25
commit
3bf801aeee
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue