Browse Source

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

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

6
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,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);
} }

Loading…
Cancel
Save