Force fresh layout and allow celebration replay
AI Just committed 2026-08-16 15:24:35 +0000

Analyzing diff...

index.html+5 −0
index b8239ff..7176a28 100644
--- a/index.html
+++ b/index.html
@@ -3,6 +3,9 @@
   <head>
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width,initial-scale=1" />
+    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
+    <meta http-equiv="Pragma" content="no-cache" />
+    <meta http-equiv="Expires" content="0" />
     <meta name="theme-color" content="#102b55" />
     <title>План тренировок — недели 9 и 10</title>
     <style>
@@ -1043,6 +1046,8 @@
         badge.textContent = lines
           ? `Достижение открыто · ${lines} ${lines === 1 ? "линия" : "линии"}`
           : "0 линий";
+        badge.title = lines ? "Нажмите, чтобы повторить фейерверк" : "";
+        badge.onclick = lines ? launchCelebration : null;
         game.querySelector("[data-score]").textContent =
           `${count} применений за неделю`;
         if (previousLines !== undefined && lines > previousLines) {