fix regression: open chat page when in chats route instead of in modal

v1.18.x
psychobunny 9 years ago
parent 1d9c2f49d2
commit ee4943c485

@ -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);

Loading…
Cancel
Save