From 951b316773265052fbc5fa546bbcf31bef277062 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 14 Jul 2026 14:20:41 -0400 Subject: Update --- 2026/index.html | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) (limited to '2026/index.html') diff --git a/2026/index.html b/2026/index.html index 8aba7d2..061ef97 100644 --- a/2026/index.html +++ b/2026/index.html @@ -16,16 +16,6 @@ .jam-hidden { visibility: hidden; } - #jam-titlescreen { - position: fixed; - top: 0px; - bottom: 0px; - right: 0px; - left: 0px; - color: white; - background-color: black; - z-index: 2; - } #jam-iframe-parent { display: grid; grid-template-columns: 100%; @@ -50,9 +40,6 @@ -
- click to continue -
@@ -151,7 +138,7 @@ microgames[idx].loaded.classList.add("jam-hidden"); framing.contentWindow.postMessage({op: "endgame", win: win}); loadUpcomingGames(); - setTimeout(startNextGameIfReady, 3000); + setTimeout(startNextGameIfReady, 4000); state = {mode: "finished"}; console.log(state); } @@ -212,11 +199,14 @@ } }); - let titlescreen = document.getElementById("jam-titlescreen"); - titlescreen.addEventListener("click", () => { - titlescreen.classList.add("jam-hidden"); - loadUpcomingGames(); - startNextGameIfReady(); + let started = false; + document.body.addEventListener("click", () => { + if (!started) { + started = true; + framing.contentWindow.postMessage({op: "titlescreenclick"}); + loadUpcomingGames(); + setTimeout(startNextGameIfReady, 8000); + } }); -- cgit v1.3.1