Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SamanthaSmith04 committed Sep 9, 2024
1 parent 480e2c5 commit d44890e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ function collectJewel() {
gameOver = true;
finishedLevels[current_level] = 1;
if (current_level < 5) {
document.getElementById("level-select").options[current_level].disabled = false;
document.getElementById("level-select").options[current_level+1].disabled = false;
document.getElementById("nextLevel").disabled = false;
}
Expand Down

0 comments on commit d44890e

Please sign in to comment.