usercard fix for guests

main
psychobunny 9 years ago
parent a4d73d9e34
commit 4fb421d5ad

@ -180,7 +180,7 @@ $(document).ready(function() {
var card = $(html);
avatar.parents('a').after(card.hide());
if (parseInt(app.user.uid, 10) === parseInt(data.uid, 10)) {
if (parseInt(app.user.uid, 10) === parseInt(data.uid, 10) || !app.user.uid) {
card.find('.btn-morph').hide();
} else {
card.find('.btn-morph').click(function(ev) {

Loading…
Cancel
Save