mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 07:50:37 +01:00
feat: use displayname for user image titles
https://github.com/NodeBB/NodeBB/issues/12997
This commit is contained in:
@@ -300,7 +300,7 @@ module.exports = function (utils, Benchpress, relative_path) {
|
||||
}
|
||||
classNames = classNames || '';
|
||||
const attributes = new Map([
|
||||
['title', userObj.username],
|
||||
['title', userObj.displayname],
|
||||
['data-uid', userObj.uid],
|
||||
['class', `avatar ${classNames}${rounded ? ' avatar-rounded' : ''}`],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user