From 93e879341c10017090292b132e5117fb8f70784f Mon Sep 17 00:00:00 2001 From: Jeuners Date: Mon, 15 Jun 2026 14:38:48 +0200 Subject: [PATCH] Allow auto-starting replay via ?replay=1 URL param Useful for demos and screenshots. Does not affect normal live view. --- web/app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/app.js b/web/app.js index 81a1c6b..062a37b 100644 --- a/web/app.js +++ b/web/app.js @@ -515,3 +515,8 @@ refreshTexts(); connectWS(); setInterval(refreshProposals, 5000); setInterval(refreshTexts, 8000); + +// Optional demo mode: http://.../?replay=1 auto-starts replay +if (location.search.includes('replay=1')) { + setTimeout(loadReplay, 600); +}