diff --git a/web/static/app.js b/web/static/app.js index a471acf..a95604d 100644 --- a/web/static/app.js +++ b/web/static/app.js @@ -481,6 +481,11 @@ async function loadRouteMaster(relationId) { // ── Init ─────────────────────────────────────────────────────────────────── +window.addEventListener('popstate', () => { + const match = location.pathname.match(/^\/(\d+)$/); + if (match) loadRoute(parseInt(match[1], 10)); +}); + if (RELATION_ID) { loadRoute(RELATION_ID); }