Skip to content

Commit

Permalink
Fix some reviewed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
100gle committed Jan 23, 2024
1 parent ca6c060 commit f48e964
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions static/js/passed-state.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


class PassedState {

_key = 'python-type-challenges';
Expand Down
2 changes: 1 addition & 1 deletion templates/components/challenge_area.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
// add confetti effect when passed
if (json.passed) {
confetti.addConfetti()
// passedState has defined in challenge_sidebar.html
// passedState is defined in challenge_sidebar.html
passedState.setPassed(level, name);
document.getElementById(`${level}-${name}`).parentNode.classList.add('passed');
}
Expand Down

0 comments on commit f48e964

Please sign in to comment.