Skip to content

Node.js based forum software built for the modern web

a should have the title, not img

psychobunny63653662e023
diff --git a/public/src/client/topic/browsing.js b/public/src/client/topic/browsing.js
index 5cb71960ea..2a0eb1eac5 100644
--- a/public/src/client/topic/browsing.js
+++ b/public/src/client/topic/browsing.js
@@ -83,14 +83,14 @@ define('forum/topic/browsing', ['translator'], function(translator) {
activeEl.append(userEl);
}
- activeEl.find('a[data-uid] img').tooltip({
+ activeEl.find('a[data-uid]').tooltip({
placement: 'top'
});
}
function createUserIcon(uid, picture, userslug, username) {
if(!$('[component="topic/browsing/list"]').find('[data-uid="' + uid + '"]').length) {
- return $('<div class="inline-block"><a data-uid="' + uid + '" data-count="1" href="' + config.relative_path + '/user/' + userslug + '"><img title="' + username + '" src="'+ picture +'"/></a></div>');
+ return $('<div class="inline-block"><a title="' + username + '" data-uid="' + uid + '" data-count="1" href="' + config.relative_path + '/user/' + userslug + '"><img src="'+ picture +'"/></a></div>');
}
}