From c9a20e63b53f033ab6da054bcec63165e14315f8 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Tue, 30 Jun 2026 10:13:46 -0400 Subject: [PATCH] Keep broadcast result in footer until next publish overwrites it (remove 10s auto-clear) --- www/js/version.json | 6 +++--- www/post.html | 6 +----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/www/js/version.json b/www/js/version.json index 14e13dc..df66c85 100644 --- a/www/js/version.json +++ b/www/js/version.json @@ -1,5 +1,5 @@ { - "VERSION": "v0.7.75", - "VERSION_NUMBER": "0.7.75", - "BUILD_DATE": "2026-06-30T14:11:08.103Z" + "VERSION": "v0.7.76", + "VERSION_NUMBER": "0.7.76", + "BUILD_DATE": "2026-06-30T14:13:46.694Z" } diff --git a/www/post.html b/www/post.html index 654f5f1..dd6a6e9 100644 --- a/www/post.html +++ b/www/post.html @@ -833,12 +833,8 @@ import { initPostCards } from './js/post-interactions2.mjs'; : ''; spanBroadcastStatus.textContent = `๐Ÿ“ก ${d.successful}/${d.total} relays ยท ${shortRelay}`; } else if (d.phase === 'done') { + // Keep the result displayed until the next publish overwrites it. spanBroadcastStatus.textContent = `โœ… ${d.successful}/${d.total} relays` + (d.failed > 0 ? ` (${d.failed} failed)` : ''); - setTimeout(() => { - if (spanBroadcastStatus.textContent.startsWith('โœ…')) { - spanBroadcastStatus.textContent = ''; - } - }, 10000); } });