mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 14:13:21 +00:00
fix about text
This commit is contained in:
parent
b5da7095ee
commit
e3742315cb
@ -672,7 +672,6 @@ function showProfile(pub) {
|
||||
var qrCodeEl = $('#profile-page-qr');
|
||||
qrCodeEl.empty();
|
||||
$('#profile-nickname-their').val('');
|
||||
$('#profile .profile-about-content').empty();
|
||||
$('#profile').show();
|
||||
addUserToHeader(pub);
|
||||
setTheirOnlineStatus(pub);
|
||||
@ -680,8 +679,8 @@ function showProfile(pub) {
|
||||
$('#profile .profile-photo-container').show();
|
||||
$('#profile .profile-photo').attr('src', photo);
|
||||
});
|
||||
$('#profile .profile-about').empty();
|
||||
$('#profile .profile-about').toggle(chats[pub].about && chats[pub].about.length > 0);
|
||||
$('#profile .profile-about-content').empty();
|
||||
$('#profile .profile-about-content').text(chats[pub].about);
|
||||
const link = getUserChatLink(pub);
|
||||
$('#profile .add-friend').off().on('click', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user