Allow write line break with SHIFT+ENTER

This commit is contained in:
joker-x 2020-09-16 05:27:03 +02:00 committed by Jonas Herzig
parent 94c73a8c1f
commit 8e653f430c

View file

@ -328,7 +328,7 @@ class GlobalBindings {
})
this.submitOnEnter = function(data, e) {
if (e.which == 13) {
if (e.which == 13 && !e.shiftKey) {
this.submitMessageBox();
return false;
}