diff --git a/public/index.html b/public/index.html index 20eb32fe5..5e759e939 100644 --- a/public/index.html +++ b/public/index.html @@ -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(); diff --git a/public/style.css b/public/style.css index 50d4921fe..4883619d2 100644 --- a/public/style.css +++ b/public/style.css @@ -633,6 +633,7 @@ display: none; margin-top: 10px; margin: 10px; font-size: 1rem; + height: 2.5rem; transition: 0.3s; } /*#api_button_novel{