mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix for jQuery input event not triggering real input event
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user