|
|
|
@ -168,9 +168,10 @@ $(document).ready(function() {
|
|
|
|
|
components.get('user/picture')
|
|
|
|
|
.on('mouseover', function() {
|
|
|
|
|
var avatar = $(this),
|
|
|
|
|
index = avatar.parents('[data-index]').attr('data-index');
|
|
|
|
|
index = avatar.parents('[data-index]').attr('data-index'),
|
|
|
|
|
data = (ajaxify.data.topics || ajaxify.data.posts)[index].user;
|
|
|
|
|
|
|
|
|
|
templates.parse('modules/usercard', ajaxify.data.topics[index].user, function(html) {
|
|
|
|
|
templates.parse('modules/usercard', data, function(html) {
|
|
|
|
|
var card = $(html);
|
|
|
|
|
avatar.parents('a').after(card.hide());
|
|
|
|
|
|
|
|
|
|