diff --git a/files/templates/chat.html b/files/templates/chat.html
index 2f835e7b0f..833d7f812b 100644
--- a/files/templates/chat.html
+++ b/files/templates/chat.html
@@ -150,9 +150,9 @@
}
- textbox.addEventListener("keyup", function(event) {
- if (event.key === 'Enter') {
- event.preventDefault();
+ textbox.addEventListener("keyup", function(e) {
+ if (!e.shiftKey && e.key === 'Enter') {
+ e.preventDefault();
send()
}
})