revert chat fix

v1.18.x
barisusakli 8 years ago
parent c8e5f52d9f
commit 053906b76d

@ -298,12 +298,7 @@ define('forum/chats', [
}; };
Chats.switchChat = function(roomid) { Chats.switchChat = function(roomid) {
var env = utils.findBootstrapEnvironment();
if (env === 'xs' || env === 'sm') {
app.openChat(roomid);
} else {
ajaxify.go('user/' + ajaxify.data.userslug + '/chats/' + roomid); ajaxify.go('user/' + ajaxify.data.userslug + '/chats/' + roomid);
}
}; };
Chats.loadChatSince = function(roomId, chatContentEl, since) { Chats.loadChatSince = function(roomId, chatContentEl, since) {

Loading…
Cancel
Save