mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-12 05:21:18 +00:00
fix username in userMenu-config reported by genjix
This commit is contained in:
parent
58ac130458
commit
5d1c3a2afd
@ -35,6 +35,13 @@ function initUser(cbFunc, cbArg) {
|
|||||||
if( $localUsersLogin.length ) {
|
if( $localUsersLogin.length ) {
|
||||||
$localUsersLogin.val(defaultScreenName);
|
$localUsersLogin.val(defaultScreenName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var $userMenuConfig = $(".userMenu-config");
|
||||||
|
if( $userMenuConfig.length ) {
|
||||||
|
$userMenuConfig.find("a.mini-profile-name").attr("href",$.MAL.userUrl(defaultScreenName));
|
||||||
|
$userMenuConfig.find(".mini-profile-name").text(defaultScreenName);
|
||||||
|
getFullname( defaultScreenName, $userMenuConfig.find(".mini-profile-name") );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
lastPostId = undefined;
|
lastPostId = undefined;
|
||||||
if( cbFunc )
|
if( cbFunc )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user