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'); });