don't show hex pubkey

This commit is contained in:
sakrecoer 2026-08-04 11:23:45 +02:00
parent bfc5289a7e
commit 14d11a8ae3

View file

@ -61,10 +61,7 @@ function openPhotoLightbox(index) {
year: 'numeric', month: 'short', day: 'numeric' year: 'numeric', month: 'short', day: 'numeric'
}); });
if (dateStr) metaText += `📅 ${dateStr}`; if (dateStr) metaText += `📅 ${dateStr}`;
if (photo.pubkey) {
if (metaText) metaText += ' | ';
metaText += `🖊️ ${photo.pubkey}`;
}
lightboxMeta.textContent = metaText || '📅 No date available'; lightboxMeta.textContent = metaText || '📅 No date available';
lightboxCounter.textContent = `${currentPhotoIndex + 1} / ${allPicturesArray.length}`; lightboxCounter.textContent = `${currentPhotoIndex + 1} / ${allPicturesArray.length}`;