From 140964478e270435078b845019903242544474ac Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 20 Jul 2017 09:54:44 +0200 Subject: [PATCH] Enter + shift key to add a new line in chat --- www/common/common-messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/common-messaging.js b/www/common/common-messaging.js index 976ed706b..7fb1c9707 100644 --- a/www/common/common-messaging.js +++ b/www/common/common-messaging.js @@ -338,7 +338,7 @@ define([ });*/ var onKeyDown = function (e) { if (e.keyCode === 13) { - if (e.ctrlKey) { + if (e.ctrlKey || e.shiftKey) { var val = this.value; if (typeof this.selectionStart === "number" && typeof this.selectionEnd === "number") { var start = this.selectionStart;