Fix profile picture initial state & no image.
This commit is contained in:
parent
2288afbba3
commit
153d69f33d
3 changed files with 4 additions and 6 deletions
|
@ -288,7 +288,7 @@ function render_pfp(pk, profile, opts={}) {
|
|||
$${str}
|
||||
data-pubkey="${pk}"
|
||||
title="${name}"
|
||||
onerror="this.onerror=null;this.src='./icon/no-user.svg';"
|
||||
onerror="this.onerror=null;this.src='${IMG_NO_USER}';"
|
||||
src="${get_picture(pk, profile)}"/>`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue