From 7ecf8b58cace251e775e47c92d21ef07cd7f0ea1 Mon Sep 17 00:00:00 2001 From: RossAsscends <124905043+RossAscends@users.noreply.github.com> Date: Mon, 27 Feb 2023 00:27:41 +0900 Subject: [PATCH] reversed Enter/Shift+Enter functions (and made connect buttons larger for mobile) --- public/index.html | 2 +- public/style.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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{