|
|
@ -180,7 +180,7 @@ $(document).ready(function() {
|
|
|
|
var card = $(html);
|
|
|
|
var card = $(html);
|
|
|
|
avatar.parents('a').after(card.hide());
|
|
|
|
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();
|
|
|
|
card.find('.btn-morph').hide();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
card.find('.btn-morph').click(function(ev) {
|
|
|
|
card.find('.btn-morph').click(function(ev) {
|
|
|
|