Keep broadcast result in footer until next publish overwrites it (remove 10s auto-clear)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user