Browse Source

list ourselves in following list so we may check about torrent synchronization

master
Miguel Freitas 11 years ago
parent
commit
2573fe8297
  1. 8
      twister_following.js

8
twister_following.js

@ -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,7 +313,10 @@ 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);
} }
$.MAL.followingListLoaded(); $.MAL.followingListLoaded();

Loading…
Cancel
Save