diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index c758a77001..4972270739 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -181,7 +181,7 @@ function quote(t) { } ta.addEventListener("keydown", function(e) { - if (e.key === 'Enter' && !current_word) { + if (e.key === 'Enter' && !e.shiftKey && !current_word) { e.preventDefault(); send(); }