Fix profile picture initial state & no image.

This commit is contained in:
Thomas Mathews 2022-12-24 05:49:40 -08:00
parent 2288afbba3
commit 153d69f33d
3 changed files with 4 additions and 6 deletions

View file

@ -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)}"/>`
}