From ec91a55058ddeb5c2b16211fb57adce954f32124 Mon Sep 17 00:00:00 2001 From: apetitco <82622378+RepentedAlex@users.noreply.github.com> Date: Thu, 11 Dec 2025 16:16:17 +0100 Subject: [PATCH] Update frontend/src/pages/ttt/ttt.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- frontend/src/pages/ttt/ttt.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/pages/ttt/ttt.ts b/frontend/src/pages/ttt/ttt.ts index a8f47b3..5bfc140 100644 --- a/frontend/src/pages/ttt/ttt.ts +++ b/frontend/src/pages/ttt/ttt.ts @@ -177,6 +177,8 @@ async function handleTTT(): Promise }); restartBtn?.addEventListener('click', () => { board.reset(); + // Remove pointer-events-none to re-enable the board if it was disabled + app?.querySelector('.ttt-grid')?.classList.remove('pointer-events-none'); updateUI(); showInfo('Game Restarted'); });