Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
michojekunle authored Jun 6, 2023
1 parent f266c1d commit 7909628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const generateAdvice = () => {

// Added event Listener that listens for a click event on the dice Button
diceButton.addEventListener('click', () => {
showSlideshow = !showSlideshow;
showSlideshow = false;
audio.pause();

// Add Shadow && Animation to the button
Expand Down

0 comments on commit 7909628

Please sign in to comment.