Update script.js
Browse files
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 |
+
|