mirror of
https://github.com/twisterarmy/cloud-server.git
synced 2025-03-12 13:31:04 +00:00
hide empty links
This commit is contained in:
parent
5596992e58
commit
ab15aa0d35
@ -81,7 +81,7 @@ var ModuleFollowing = {
|
||||
|
||||
$(list).find('div[data-username="' + userName + '"] .username > a').html(response.profile.fullName ? response.profile.fullName : response.profile.userName);
|
||||
$(list).find('div[data-username="' + userName + '"] .location').html(response.profile.location);
|
||||
$(list).find('div[data-username="' + userName + '"] .url').html($('<a/>',{'href':response.profile.url,'class':'bi bi-link','title':'Website'}));
|
||||
$(list).find('div[data-username="' + userName + '"] .url').html(response.profile.url == '' ? '' : $('<a/>',{'href':response.profile.url,'class':'bi bi-link','title':'Website'}));
|
||||
$(list).find('div[data-username="' + userName + '"] .bio').html(response.profile.bio);
|
||||
$(list).find('div[data-username="' + userName + '"] .bitMessage').html(response.profile.bitMessage == '' ? '' : $('<a/>',{'href':'bitmessage:' + response.profile.bitMessage,'class':'bi bi-send','title':'BitMessage'}));
|
||||
$(list).find('div[data-username="' + userName + '"] .tox').html(response.profile.tox == '' ? '' : $('<a/>',{'href':'tox:' + response.profile.tox,'class':'bi bi-chat-square-dots','title':'TOX'}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user