mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
fix regression: open chat page when in chats route instead of in modal
This commit is contained in:
@@ -310,7 +310,7 @@ app.cacheBuster = null;
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
|
||||
if (!ajaxify.currentPage.startsWith('chats')) {
|
||||
if (!ajaxify.data.template.chats) {
|
||||
app.openChat(roomId);
|
||||
} else {
|
||||
ajaxify.go('chats/' + roomId);
|
||||
|
||||
Reference in New Issue
Block a user