From 384bb56f1e762aea7db2651e29978280b3ca4bd1 Mon Sep 17 00:00:00 2001 From: RossAsscends <124905043+RossAscends@users.noreply.github.com> Date: Sun, 26 Feb 2023 13:30:17 +0900 Subject: [PATCH] Update index.html --- public/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/public/index.html b/public/index.html index 87f031e3a..706915467 100644 --- a/public/index.html +++ b/public/index.html @@ -1213,6 +1213,7 @@ //because mobile users' hands are always near the screen, tapping the send button is better for them. //caveat: people on an iPad using a Bluetooth keyboard will need to be treated as PC users for this purpose. //note: CAI seems to have this handled. PC: shift+enter = new line, enter = send. iOS: shift+enter AND enter both make new lines, and only the send button sends. + //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) {