indentation

v1.18.x
pichalite 9 years ago
parent 971c3eb0e1
commit 2723800628

@ -580,15 +580,15 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
chatEl.click(function() {
socket.emit('modules.chats.hasPrivateChat', userObj.uid, function(err, roomId) {
if (err) {
return app.alertError(err.message);
}
if (roomId) {
ajaxify.go('chats/' + roomId);
} else {
app.newChat(userObj.uid);
}
});
if (err) {
return app.alertError(err.message);
}
if (roomId) {
ajaxify.go('chats/' + roomId);
} else {
app.newChat(userObj.uid);
}
});
});
});
}

Loading…
Cancel
Save