Include Ctrl+Enter as one the shortcuts that insert line break instead of submitting the message
This commit is contained in:
parent
86f7b7adf5
commit
c20c59add0
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@
|
|||
updateMessageFieldSize: function (event) {
|
||||
var keyCode = event.which || event.keyCode;
|
||||
|
||||
if (keyCode === 13 && !event.altKey && !event.shiftKey) {
|
||||
if (keyCode === 13 && !event.altKey && !event.shiftKey && !event.ctrlKey) {
|
||||
// enter pressed - submit the form now
|
||||
event.preventDefault();
|
||||
return this.$('.bottom-bar form').submit();
|
||||
|
|
Loading…
Reference in a new issue