Skip to content

Commit

Permalink
Reset jokers left when changing seasons
Browse files Browse the repository at this point in the history
  • Loading branch information
Toseflo committed Feb 24, 2024
1 parent a025372 commit 0364b5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ seasonSelect.on('change', function () {
guessButton.style.display = 'block';
jokerButton.style.display = 'block';
feedbackText.style.display = 'none';
jokerUsesLeft = startingJokers;
updateJokerButton(jokerUsesLeft);
}

previouslyShownEpisodes = [];
Expand Down

0 comments on commit 0364b5c

Please sign in to comment.