reversed Enter/Shift+Enter functions

(and made connect buttons larger for mobile)
This commit is contained in:
RossAsscends
2023-02-27 00:27:41 +09:00
parent 29623350bd
commit 7ecf8b58ca
2 changed files with 2 additions and 1 deletions

View File

@@ -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();

View File

@@ -633,6 +633,7 @@ display: none;
margin-top: 10px;
margin: 10px;
font-size: 1rem;
height: 2.5rem;
transition: 0.3s;
}
/*#api_button_novel{