Allow write line break with SHIFT+ENTER
This commit is contained in:
parent
94c73a8c1f
commit
8e653f430c
|
@ -328,7 +328,7 @@ class GlobalBindings {
|
||||||
})
|
})
|
||||||
|
|
||||||
this.submitOnEnter = function(data, e) {
|
this.submitOnEnter = function(data, e) {
|
||||||
if (e.which == 13) {
|
if (e.which == 13 && !e.shiftKey) {
|
||||||
this.submitMessageBox();
|
this.submitMessageBox();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue