remove / from startsWith

v1.18.x
Barış Soner Uşaklı 9 years ago
parent 0516418da6
commit 82875de32d

@ -276,7 +276,7 @@ app.cacheBuster = null;
if (err) {
return app.alertError(err.message);
}
if (!ajaxify.currentPage.startsWith('chats/')) {
if (!ajaxify.currentPage.startsWith('chats')) {
app.openChat(roomId);
} else {
ajaxify.go('chats/' + roomId);

Loading…
Cancel
Save