mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-11 15:37:55 +00:00
list ourselves in following list so we may check about torrent synchronization
This commit is contained in:
parent
561b882101
commit
2573fe8297
@ -302,9 +302,6 @@ function showFollowingUsers(){
|
||||
$followingList.append($template);
|
||||
|
||||
for( var i = 0; i < followingUsers.length; i++ ) {
|
||||
if( followingUsers[i] == defaultScreenName )
|
||||
continue;
|
||||
|
||||
var resItem = $template.clone(true);
|
||||
resItem.removeAttr('id');
|
||||
resItem.show();
|
||||
@ -316,7 +313,10 @@ function showFollowingUsers(){
|
||||
resItem.find(".public-following").prop("checked",isPublicFollowing(followingUsers[i]));
|
||||
getAvatar(followingUsers[i],resItem.find(".mini-profile-photo"));
|
||||
getFullname(followingUsers[i],resItem.find(".mini-profile-name"));
|
||||
|
||||
if( followingUsers[i] == defaultScreenName ) {
|
||||
resItem.find("button").hide();
|
||||
}
|
||||
|
||||
resItem.appendTo($followingList);
|
||||
}
|
||||
$.MAL.followingListLoaded();
|
||||
|
Loading…
Reference in New Issue
Block a user