Skip to content

Commit

Permalink
Merge branch 'pr/187'
Browse files Browse the repository at this point in the history
  • Loading branch information
sk66641 committed Jun 6, 2024
2 parents 9cfe4ce + 9b06324 commit c964a8a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ document.addEventListener('DOMContentLoaded', () => {
let lightInterval;

submitButton.addEventListener('click', () => {
alert("Double click on the screen to reload!");
// alert("Double click on the screen to reload!");
pauseStartButton.style.display = 'block'; // Show the pause button
console.log("Submit button clicked");
run();
run()
});

resetButton.addEventListener('click', () => {
Expand Down Expand Up @@ -52,6 +52,9 @@ document.addEventListener('DOMContentLoaded', () => {

function startCountdown(duration) {
countdownValue = duration;
alert("Double click on the screen to reload!");
document.getElementById('musicDropdown').style.display = 'block';
// document.getElementById('musicDropdown').style.display = 'block';
timerDisplay.style.display = 'block';

timerInterval = setInterval(() => {
Expand Down Expand Up @@ -437,7 +440,7 @@ function lightMode() {

}
document.getElementById('submit').addEventListener('click', function () {
document.getElementById('musicDropdown').style.display = 'block';


document.getElementById('musicDropdown').addEventListener('change', function () {
const selectedMusic = this.value;
Expand Down

0 comments on commit c964a8a

Please sign in to comment.