Remove disable attribute from send_textarea. It never worked.

This commit is contained in:
Cohee 2024-05-05 14:27:20 +03:00
parent 292ecf580e
commit ef5499c8dc
2 changed files with 0 additions and 4 deletions

View File

@ -4257,7 +4257,6 @@ function unblockGeneration(type) {
setGenerationProgress(0); setGenerationProgress(0);
flushEphemeralStoppingStrings(); flushEphemeralStoppingStrings();
flushWIDepthInjections(); flushWIDepthInjections();
$('#send_textarea').removeAttr('disabled');
} }
export function getNextMessageId(type) { export function getNextMessageId(type) {
@ -5263,7 +5262,6 @@ export function activateSendButtons() {
is_send_press = false; is_send_press = false;
$('#send_but').removeClass('displayNone'); $('#send_but').removeClass('displayNone');
$('#mes_continue').removeClass('displayNone'); $('#mes_continue').removeClass('displayNone');
$('#send_textarea').attr('disabled', String(false));
$('.mes_buttons:last').show(); $('.mes_buttons:last').show();
hideStopButton(); hideStopButton();
} }

View File

@ -788,7 +788,6 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) {
} }
} }
else if (type === 'impersonate') { else if (type === 'impersonate') {
$('#send_textarea').attr('disabled', true);
activatedMembers = activateImpersonate(group.members); activatedMembers = activateImpersonate(group.members);
} }
else if (activationStrategy === group_activation_strategy.NATURAL) { else if (activationStrategy === group_activation_strategy.NATURAL) {
@ -840,7 +839,6 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) {
typingIndicator.hide(); typingIndicator.hide();
is_group_generating = false; is_group_generating = false;
$('#send_textarea').attr('disabled', false);
setSendButtonState(false); setSendButtonState(false);
setCharacterId(undefined); setCharacterId(undefined);
setCharacterName(''); setCharacterName('');