Spaces:
Running
Running
JAYASWAROOP
commited on
Commit
•
5e09ec3
1
Parent(s):
5ac147f
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 = 'inline';
|
23 |
audio.play();
|
24 |
} else {
|
25 |
audio.style.display = 'none';
|