mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
input bar auto-shrink on send
previous the input bar would expand to the fit the size of the typed input, but when it was sent, the bar would stay the same size. Now it will auto-shrink back to default size after sending the input to AI.
This commit is contained in:
@@ -1 +1 @@
|
||||
#bg1 {background-image: url(../backgrounds/tavern.png);}
|
||||
#bg1 {background-image: url(../backgrounds/whitesnow.png);}
|
@@ -597,7 +597,7 @@
|
||||
if(online_status != 'no_connection' && this_chid != undefined){
|
||||
if(type != 'regenerate'){
|
||||
var textareaText = $("#send_textarea").val();
|
||||
$("#send_textarea").val('');
|
||||
$("#send_textarea").val('').trigger('input');
|
||||
|
||||
}else{
|
||||
var textareaText = "";
|
||||
|
Reference in New Issue
Block a user