Merge pull request #236 from pichalite/user-card

don't show user card for guest
main
Barış Soner Uşaklı 9 years ago
commit 04eb6bc5d8

@ -198,6 +198,10 @@ $(document).ready(function() {
$('.persona-usercard').remove();
if (parseInt(data.uid, 10) === 0) {
return false;
}
socket.emit('user.isFollowing', {uid: data.uid}, function(err, isFollowing) {
app.parseAndTranslate('modules/usercard', data, function(html) {
var card = $(html);

Loading…
Cancel
Save