Spaces:
Running
Running
Commit
·
c6b33e7
1
Parent(s):
5e09ec3
Update audio.js
Browse files
audio.js
CHANGED
|
@@ -19,7 +19,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
| 19 |
|
| 20 |
// Toggle the display of the audio element
|
| 21 |
if (getComputedStyle(audio).display === 'none') {
|
| 22 |
-
audio.style.display = '
|
| 23 |
audio.play();
|
| 24 |
} else {
|
| 25 |
audio.style.display = 'none';
|
|
|
|
| 19 |
|
| 20 |
// Toggle the display of the audio element
|
| 21 |
if (getComputedStyle(audio).display === 'none') {
|
| 22 |
+
audio.style.display = 'block';
|
| 23 |
audio.play();
|
| 24 |
} else {
|
| 25 |
audio.style.display = 'none';
|