From 8eecf59c4764a9612ed76e95b274c37cdd187417 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 26 Aug 2014 18:47:52 -0400 Subject: [PATCH] closes #2020 --- public/src/forum/chats.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/src/forum/chats.js b/public/src/forum/chats.js index d84dbac203..cf35f8d5f8 100644 --- a/public/src/forum/chats.js +++ b/public/src/forum/chats.js @@ -170,6 +170,7 @@ define('forum/chats', ['string', 'sounds'], function(S, sounds) { var recipientUid = Chats.getRecipientUid(); if (recipientUid) { socket.emit('modules.chats.markRead', recipientUid); + $('.expanded-chat input').focus(); } $('.chats-list li').removeClass('bg-primary'); $('.chats-list li[data-uid="' + recipientUid + '"]').addClass('bg-primary');