mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 14:13:21 +00:00
fix previous
This commit is contained in:
parent
42bb2cf8c5
commit
83b5c552a6
@ -680,7 +680,7 @@ function showProfile(pub) {
|
|||||||
$('#profile .profile-photo-container').show();
|
$('#profile .profile-photo-container').show();
|
||||||
$('#profile .profile-photo').attr('src', photo);
|
$('#profile .profile-photo').attr('src', photo);
|
||||||
});
|
});
|
||||||
$('#profile-about').empty();
|
$('#profile .profile-about').empty();
|
||||||
gun.user(pub).get('profile').get('about').on(about => {
|
gun.user(pub).get('profile').get('about').on(about => {
|
||||||
$('#profile .profile-about').toggle(about && about.length > 0);
|
$('#profile .profile-about').toggle(about && about.length > 0);
|
||||||
$('#profile .profile-about').text(about);
|
$('#profile .profile-about').text(about);
|
||||||
|
Loading…
Reference in New Issue
Block a user