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) {