From ee529d92d34db6421f0c6e9187a9434d5d9f8e9f Mon Sep 17 00:00:00 2001 From: pichalite Date: Sat, 16 Jan 2016 14:49:32 -0800 Subject: [PATCH] fixes NodeBB/nodebb-theme-persona#218 --- public/src/modules/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js index 0ced2bf483..0bec27e2c7 100644 --- a/public/src/modules/chat.js +++ b/public/src/modules/chat.js @@ -348,7 +348,7 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra socket.emit('modules.chats.markRead', chatModal.attr('roomId')); var env = utils.findBootstrapEnvironment(); - if (env === 'xs' || env === 'sm') { + if (env === 'xs') { module.enableMobileBehaviour(chatModal); } };