master #15

Merged
kibi merged 4 commits from master into f0ckv2 2026-07-17 21:53:32 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit a68c8c1618 - Show all commits

View File

@@ -8588,6 +8588,10 @@ class NotificationSystem {
}
handleNewItem(data) {
// Invalidate client-side caches so next/prev navigation knows about the new item
if (typeof itemCacheMap !== 'undefined') itemCacheMap.clear();
if (typeof gridCacheMap !== 'undefined') gridCacheMap.clear();
// Only prepend to the grid on the main/index page
const grid = document.querySelector('.posts');
if (!grid) return;