fix: updates navigation menu user icon

v1.18.x
Mats 4 years ago committed by Andrew Rodrigues
parent 3fb7444580
commit f9b248b87f

@ -34,6 +34,7 @@ define('forum/account/edit/username', [
$('[component="header/profilelink/settings"]').attr('href', config.relative_path + '/user/' + userslug + '/settings');
$('[component="header/username"]').text(userData.username);
$('[component="header/usericon"]').css('background-color', response['icon:bgColor']).text(response['icon:text']);
$('[component="avatar/icon"]').css('background-color', response['icon:bgColor']).text(response['icon:text']);
}
ajaxify.go('user/' + userslug + '/edit');

Loading…
Cancel
Save