mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-12 07:58:06 +00:00
add removing of name and bio from items of who-to-follow and new-users modules' lists
This commit is contained in:
parent
e51032a53d
commit
e8f9717271
@ -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…
Reference in New Issue
Block a user