Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PjrCodes authored Feb 29, 2024
1 parent 2ec627d commit aef80d1
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 @@ -239,6 +239,9 @@ function submitPrompt(event) {
return;
}
promptsTaken += 1;
if (promptsTaken % 29 == 0) {
promptsTaken = 0;
}
counter.textContent = promptsTaken.toString();
getResponse(input.value);

Expand Down

0 comments on commit aef80d1

Please sign in to comment.