Keep broadcast result in footer until next publish overwrites it (remove 10s auto-clear)

This commit is contained in:
Laan Tungir
2026-06-30 10:13:46 -04:00
parent 79e38b8f79
commit c9a20e63b5
2 changed files with 4 additions and 8 deletions

View File

@@ -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"
}

View File

@@ -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);
}
});