This commit is contained in:
2026-07-12 20:47:10 +02:00
parent 1a314ce752
commit db08e5d3c9

View File

@@ -2216,6 +2216,9 @@ window.cancelAnimFrame = (function () {
} }
// Show loading indicator immediately — before cache check so it's visible on cache-hit restores too
if (navbar) navbar.classList.add('pbwork');
// Check for cached grid (Index/Grid Only) - RESTORE EARLY to avoid pagination/layout destruction. // Check for cached grid (Index/Grid Only) - RESTORE EARLY to avoid pagination/layout destruction.
// The cache is checked on ANY grid navigation (not just popstate/skipPush), so clicking the // The cache is checked on ANY grid navigation (not just popstate/skipPush), so clicking the
// navbar brand from an item view restores the grid instantly without re-fetching. // navbar brand from an item view restores the grid instantly without re-fetching.