mirror of
http://nostr-git-proxy.forgejo.svc.cluster.local/git/45387ca441053e230b2126802005eb03767ab59d84555e8bac86b6e7def14e27/myadhd
synced 2026-09-23 20:23:10 +00:00
fix: ensure sweep stamp is only applied manually when stale items are processed
This commit is contained in:
parent
0f9bf0c34e
commit
7db88148b7
1 changed files with 2 additions and 1 deletions
|
|
@ -933,8 +933,9 @@
|
||||||
// Auto-trigger on page load if stale
|
// Auto-trigger on page load if stale
|
||||||
if (sweepNeeded() && inboxItems.length > 0) {
|
if (sweepNeeded() && inboxItems.length > 0) {
|
||||||
openSweep(inboxItems.slice());
|
openSweep(inboxItems.slice());
|
||||||
|
} else {
|
||||||
|
stampVisit();
|
||||||
}
|
}
|
||||||
stampVisit();
|
|
||||||
|
|
||||||
// Manual "sweep stale" button in inbox
|
// Manual "sweep stale" button in inbox
|
||||||
var $inboxSweep = $('#inbox-sweep');
|
var $inboxSweep = $('#inbox-sweep');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue