fix for jQuery input event not triggering real input event

This commit is contained in:
LenAnderson
2024-03-26 12:32:23 -04:00
parent cd002b1334
commit 3debc06372

View File

@@ -843,7 +843,7 @@ export function initRossMods() {
saveSettingsDebounced(); saveSettingsDebounced();
}); });
sendTextArea.addEventListener('input', ()=>{ $(sendTextArea).on('input', ()=>{
if (sendTextArea.scrollHeight > sendTextArea.offsetHeight) { if (sendTextArea.scrollHeight > sendTextArea.offsetHeight) {
autoFitSendTextArea(); autoFitSendTextArea();
} else { } else {