user/picture component

v1.18.x
psychobunny 9 years ago
parent 0588a59c0c
commit ec434dfe95

@ -171,7 +171,7 @@
if (topicObj.thumb) {
return '<img src="' + topicObj.thumb + '" class="img-circle user-img" title="' + topicObj.user.username + '" />';
} else {
return '<img src="' + topicObj.user.picture + '" class="user-img" title="' + topicObj.user.username + '" />';
return '<img data-component="user/picture" data-uid="' + topicObj.user.uid + '" src="' + topicObj.user.picture + '" class="user-img" title="' + topicObj.user.username + '" />';
}
};

Loading…
Cancel
Save