|
|
@ -302,9 +302,6 @@ function showFollowingUsers(){ |
|
|
|
$followingList.append($template); |
|
|
|
$followingList.append($template); |
|
|
|
|
|
|
|
|
|
|
|
for( var i = 0; i < followingUsers.length; i++ ) { |
|
|
|
for( var i = 0; i < followingUsers.length; i++ ) { |
|
|
|
if( followingUsers[i] == defaultScreenName ) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var resItem = $template.clone(true); |
|
|
|
var resItem = $template.clone(true); |
|
|
|
resItem.removeAttr('id'); |
|
|
|
resItem.removeAttr('id'); |
|
|
|
resItem.show(); |
|
|
|
resItem.show(); |
|
|
@ -316,6 +313,9 @@ function showFollowingUsers(){ |
|
|
|
resItem.find(".public-following").prop("checked",isPublicFollowing(followingUsers[i])); |
|
|
|
resItem.find(".public-following").prop("checked",isPublicFollowing(followingUsers[i])); |
|
|
|
getAvatar(followingUsers[i],resItem.find(".mini-profile-photo")); |
|
|
|
getAvatar(followingUsers[i],resItem.find(".mini-profile-photo")); |
|
|
|
getFullname(followingUsers[i],resItem.find(".mini-profile-name")); |
|
|
|
getFullname(followingUsers[i],resItem.find(".mini-profile-name")); |
|
|
|
|
|
|
|
if( followingUsers[i] == defaultScreenName ) { |
|
|
|
|
|
|
|
resItem.find("button").hide(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
resItem.appendTo($followingList); |
|
|
|
resItem.appendTo($followingList); |
|
|
|
} |
|
|
|
} |
|
|
|