|
|
|
@ -172,7 +172,7 @@ $(document).ready(function() {
|
|
|
|
|
|
|
|
|
|
templates.parse('modules/usercard', ajaxify.data.topics[index].user, function(html) {
|
|
|
|
|
var card = $(html);
|
|
|
|
|
avatar.parents('a').after(card);
|
|
|
|
|
avatar.parents('a').after(card.hide());
|
|
|
|
|
|
|
|
|
|
card.find('.btn-morph').click(function(event){
|
|
|
|
|
$(this).toggleClass('plus').toggleClass('heart');
|
|
|
|
@ -187,10 +187,14 @@ $(document).ready(function() {
|
|
|
|
|
drop.css({top: y+'px', left: x+'px'}).addClass("animate");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
card.on('mouseout', function() {
|
|
|
|
|
//card.remove();
|
|
|
|
|
card.on('mouseleave', function() {
|
|
|
|
|
card.fadeOut(function() {
|
|
|
|
|
card.remove();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
card.fadeIn();
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|