summaryrefslogtreecommitdiff
path: root/src/static/js/chat.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/chat.js')
-rw-r--r--src/static/js/chat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/chat.js b/src/static/js/chat.js
index 486c7256..4493ed15 100644
--- a/src/static/js/chat.js
+++ b/src/static/js/chat.js
@@ -150,7 +150,7 @@ var chat = (function()
$("#chatinput").keypress(function(evt)
{
//if the user typed enter, fire the send
- if(evt.which == 13)
+ if(evt.which == 13 || evt.which == 10)
{
evt.preventDefault();
self.send();