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

This commit is contained in:
Simon Grim 2019-02-22 01:40:24 +05:00
parent e51032a53d
commit e8f9717271

View File

@ -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)