Add missing restart buttons to game overlays
Fixed issue where JavaScript event listeners were trying to attach to non-existent restart buttons, causing all games to fail initialization
This commit is contained in:
@@ -220,6 +220,7 @@
|
||||
<button id="submitTraoomBtn" class="btn-primary">Save Score</button>
|
||||
</div>
|
||||
<p class="code-hint" id="traoomCodeHint">New players get a secret code</p>
|
||||
<button id="restartTraoomBtn" class="btn-primary">Play Again</button>
|
||||
</div>
|
||||
<button id="startTraoomBtn" class="btn-primary">Start Bug Hunt</button>
|
||||
</div>
|
||||
@@ -251,6 +252,7 @@
|
||||
<button id="submitPuzzleBtn" class="btn-primary">Save Score</button>
|
||||
</div>
|
||||
<p class="code-hint" id="puzzleCodeHint">New players get a secret code</p>
|
||||
<button id="restartPuzzleBtn" class="btn-primary">Play Again</button>
|
||||
</div>
|
||||
<button id="startPuzzleBtn" class="btn-primary">Start Puzzle</button>
|
||||
</div>
|
||||
@@ -283,6 +285,7 @@
|
||||
<button id="submitRhythmBtn" class="btn-primary">Save Score</button>
|
||||
</div>
|
||||
<p class="code-hint" id="rhythmCodeHint">New players get a secret code</p>
|
||||
<button id="restartRhythmBtn" class="btn-primary">Play Again</button>
|
||||
</div>
|
||||
<button id="startRhythmBtn" class="btn-primary">Start Rhythm</button>
|
||||
</div>
|
||||
@@ -315,6 +318,7 @@
|
||||
<button id="submitArenaBtn" class="btn-primary">Save Score</button>
|
||||
</div>
|
||||
<p class="code-hint" id="arenaCodeHint">New players get a secret code</p>
|
||||
<button id="restartArenaBtn" class="btn-primary">Play Again</button>
|
||||
</div>
|
||||
<button id="startArenaBtn" class="btn-primary">Enter Arena</button>
|
||||
</div>
|
||||
@@ -347,6 +351,7 @@
|
||||
<button id="submitTetrisBtn" class="btn-primary">Save Score</button>
|
||||
</div>
|
||||
<p class="code-hint" id="tetrisCodeHint">New players get a secret code</p>
|
||||
<button id="restartTetrisBtn" class="btn-primary">Play Again</button>
|
||||
</div>
|
||||
<button id="startTetrisBtn" class="btn-primary">Start Game</button>
|
||||
</div>
|
||||
@@ -379,6 +384,7 @@
|
||||
<button id="submitPlatformerBtn" class="btn-primary">Save Score</button>
|
||||
</div>
|
||||
<p class="code-hint" id="platformerCodeHint">New players get a secret code</p>
|
||||
<button id="restartPlatformerBtn" class="btn-primary">Play Again</button>
|
||||
</div>
|
||||
<button id="startPlatformerBtn" class="btn-primary">Start Game</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user