From eb61c4e267a6f30c370faa0950ad0e9e0807a663 Mon Sep 17 00:00:00 2001 From: Anil Mandepudi Date: Tue, 27 Sep 2016 14:36:31 -0700 Subject: [PATCH] redirect main window to correct url on chat pop out --- public/src/client/chats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/chats.js b/public/src/client/chats.js index 7f94eb1b66..754018d96b 100644 --- a/public/src/client/chats.js +++ b/public/src/client/chats.js @@ -62,7 +62,7 @@ define('forum/chats', [ var roomId = ajaxify.data.roomId; if (app.previousUrl && app.previousUrl.match(/chats/)) { - ajaxify.go('chats', function() { + ajaxify.go('user/' + ajaxify.data.userslug + '/chats', function() { app.openChat(roomId); }, true); } else {