mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
closes #2070
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user