Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
time change text is no longer shown when the word is guessed, since it doesn't add that to the time anyway
  • Loading branch information
Gurge44 committed Jul 28, 2023
1 parent 9c99a23 commit 479a703
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,9 @@ function checkGuess() {
a.style.color = timeChangeNegativeColor;
a.innerHTML = entireGuessTimeChange + "s";
}
if (guessString === rightGuessString) {
a.innerHTML = "";
}
}

if (guessString === rightGuessString) {
Expand Down

0 comments on commit 479a703

Please sign in to comment.