mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
reversed Enter/Shift+Enter functions
(and made connect buttons larger for mobile)
This commit is contained in:
@@ -1226,7 +1226,7 @@
|
||||
//maybe a way to simulate this would be to disable the eventListener for people iOS.
|
||||
|
||||
$("#send_textarea").keydown(function (e) {
|
||||
if(e.which === 13 && e.shiftKey && is_send_press == false) {
|
||||
if(e.which === 13 && !e.shiftKey && is_send_press == false) {
|
||||
is_send_press = true;
|
||||
e.preventDefault();
|
||||
Generate();
|
||||
|
@@ -633,6 +633,7 @@ display: none;
|
||||
margin-top: 10px;
|
||||
margin: 10px;
|
||||
font-size: 1rem;
|
||||
height: 2.5rem;
|
||||
transition: 0.3s;
|
||||
}
|
||||
/*#api_button_novel{
|
||||
|
Reference in New Issue
Block a user