This commit is contained in:
barisusakli
2014-11-16 17:29:45 -05:00
parent 807d4b7e2e
commit 32e08ba419
2 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ define('forum/chats', ['string', 'sounds', 'forum/infinitescroll'], function(S,
});
inputEl.on('keypress', function(e) {
if(e.which === 13) {
if(e.which === 13 && !e.shiftKey) {
Chats.sendMessage(Chats.getRecipientUid(), inputEl);
}
});