diff --git a/lib/persona.js b/lib/persona.js index 3f1aff6..2b8cec7 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -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) {