mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
closes #2148
This commit is contained in:
@@ -66,9 +66,14 @@ define('forum/chats', ['string', 'sounds', 'forum/infinitescroll'], function(S,
|
||||
popoutEl.on('click', function() {
|
||||
var username = $('.expanded-chat').attr('data-username'),
|
||||
uid = Chats.getRecipientUid();
|
||||
|
||||
if (app.previousUrl && app.previousUrl.match(/chats/)) {
|
||||
ajaxify.go('chats', function() {
|
||||
app.openChat(username, uid);
|
||||
}, true);
|
||||
} else {
|
||||
window.history.go(-1);
|
||||
}
|
||||
});
|
||||
|
||||
$('.recent-chats').on('scroll', function() {
|
||||
|
||||
Reference in New Issue
Block a user