|
|
|
@ -2,7 +2,7 @@ define('persona/chats', ['components', 'forum/chats'], function(components, core
|
|
|
|
|
var Chats = {};
|
|
|
|
|
|
|
|
|
|
Chats.init = function() {
|
|
|
|
|
components.get('chat/recent').off('click').on('click', '[component="chat/recent/room"]', function(e) {
|
|
|
|
|
components.get('chat/recent').on('click', '[component="chat/recent/room"]', function(e) {
|
|
|
|
|
var env = utils.findBootstrapEnvironment();
|
|
|
|
|
if (env === 'xs' || env === 'sm') {
|
|
|
|
|
app.openChat($(this).attr('data-roomid'));
|
|
|
|
|