Skip to content

Commit

Permalink
Corrected the display of Play Again button in checkDraw function
Browse files Browse the repository at this point in the history
  • Loading branch information
thevijayshankersharma committed May 19, 2024
1 parent ff0bced commit 0d3dd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tic-Tac-Toe Game/scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function checkDraw() {
if (isDraw) {
isGameOver = true;
document.querySelector("#results").innerHTML = "Match drawn";
document.querySelector("#play-again").innerHTML = "inline";
document.querySelector("#play-again").style.display = "inline";
}
}
}
Expand Down

0 comments on commit 0d3dd05

Please sign in to comment.