Skip to content

Commit

Permalink
fix playSound()
Browse files Browse the repository at this point in the history
  • Loading branch information
SarabjitS committed Nov 11, 2023
1 parent b1765e6 commit f784d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ function playBtnHandler() {
if (moveIndex <= opening.length - 1) {
enableButton(prevBtn);
nextHandler(opening[moveIndex][0], opening[moveIndex][1]);
playSound();
// playSound();
generateTutorial(opening[moveIndex][2]);
if (moveIndex === opening.length - 1) {
disableButton(nextBtn);
Expand Down

0 comments on commit f784d45

Please sign in to comment.