Don't trigger "Send" to continue if pending file attachments Fixes #2763

3bf801aeee419ae067ae3f6f55c6c8fb2b9e556e

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -0Ignore whitespace
public/script.js+1 -0
@@ -1889,6 +1889,7 @@ export async function sendTextareaMessage() {
1889 // message was sent from a character (not the user or the system).1889 // message was sent from a character (not the user or the system).
1890 const textareaText = String($('#send_textarea').val());1890 const textareaText = String($('#send_textarea').val());
1891 if (power_user.continue_on_send &&1891 if (power_user.continue_on_send &&
1892 !hasPendingFileAttachment() &&
1892 !textareaText &&1893 !textareaText &&
1893 !selected_group &&1894 !selected_group &&
1894 chat.length &&1895 chat.length &&