diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index 8f62a7c26..e33ec7b94 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -201,7 +201,7 @@ function quote(t) { } ta.addEventListener("keyup", function(e) { - if (e.key === 'Enter') { + if (e.key === 'Enter' && !current_word) { e.preventDefault(); send(); }