diff --git a/js/main.js b/js/main.js index b4a51e6..ddf6c73 100644 --- a/js/main.js +++ b/js/main.js @@ -182,7 +182,7 @@ class ChessApp { * Update move history display */ updateMoveHistory() { - const moveList = document.getElementById('move-list'); + const moveList = document.getElementById('move-history'); const history = this.game.gameState.moveHistory; if (history.length === 0) { @@ -211,8 +211,8 @@ class ChessApp { * Update captured pieces display */ updateCapturedPieces() { - const whiteCaptured = document.getElementById('white-captured'); - const blackCaptured = document.getElementById('black-captured'); + const whiteCaptured = document.getElementById('captured-white-pieces'); + const blackCaptured = document.getElementById('captured-black-pieces'); const captured = this.game.gameState.capturedPieces;