Browse Source

add removing of name and bio from items of who-to-follow and new-users modules' lists

readme-update
Simon Grim 6 years ago
parent
commit
e8f9717271
  1. 3
      js/twister_following.js

3
js/twister_following.js

@ -656,6 +656,9 @@ function processWhoToFollowSuggestion(module, peerAlias, followedBy, prepend) {
getFullname(peerAlias, item.find('.twister-user-full')); getFullname(peerAlias, item.find('.twister-user-full'));
getBioToElem(peerAlias, item.find('.bio')); getBioToElem(peerAlias, item.find('.bio'));
item.find('.twister-user-remove').remove(); item.find('.twister-user-remove').remove();
} else {
item.find('.twister-user-full').remove();
item.find('.bio').remove();
} }
if (prepend) if (prepend)

Loading…
Cancel
Save