web: fixed shit i'm tired

This commit is contained in:
Thomas Mathews 2022-12-21 20:20:16 -08:00
parent 4d9151b8ae
commit 1ef133eb75
8 changed files with 197 additions and 97 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='${robohash(pk)}';"
onerror="this.onerror=null;this.src='./icon/no-user.svg';"
src="${get_picture(pk, profile)}"/>`
}