Don't trigger "Send" to continue if pending file attachments Fixes #2763
| @@ -1889,6 +1889,7 @@ export async function sendTextareaMessage() { | ||
| 1889 | 1889 | // message was sent from a character (not the user or the system). |
| 1890 | 1890 | const textareaText = String($('#send_textarea').val()); |
| 1891 | 1891 | if (power_user.continue_on_send && |
| 1892 | + !hasPendingFileAttachment() && | |
| 1892 | 1893 | !textareaText && |
| 1893 | 1894 | !selected_group && |
| 1894 | 1895 | chat.length && |