maringetxway commited on
Commit
60176ca
·
verified ·
1 Parent(s): fb49ca8

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +4 -0
script.js CHANGED
@@ -26,7 +26,11 @@ updateCountdown();
26
 
27
  window.addEventListener('click', () => {
28
  const audio = document.getElementById("backgroundSound");
 
29
  if (audio && audio.paused) {
30
  audio.play().catch((e) => console.log("Audio autoplay blocked:", e));
31
  }
32
  }, { once: true });
 
 
 
 
26
 
27
  window.addEventListener('click', () => {
28
  const audio = document.getElementById("backgroundSound");
29
+ audio.volume = 0.05;
30
  if (audio && audio.paused) {
31
  audio.play().catch((e) => console.log("Audio autoplay blocked:", e));
32
  }
33
  }, { once: true });
34
+
35
+
36
+