Spaces:
Runtime error
Runtime error
Update public/script.js
Browse files- public/script.js +1 -0
public/script.js
CHANGED
|
@@ -218,6 +218,7 @@ function playMusic(fileName) {
|
|
| 218 |
currentPlaying = fileName;
|
| 219 |
|
| 220 |
updatePlayingIndicator();
|
|
|
|
| 221 |
|
| 222 |
const loaderContainer = document.getElementById('loader-container');
|
| 223 |
loaderContainer.innerHTML = '';
|
|
|
|
| 218 |
currentPlaying = fileName;
|
| 219 |
|
| 220 |
updatePlayingIndicator();
|
| 221 |
+
document.getElementById('audio-player').style.display = 'none'; // Hide custom player UI
|
| 222 |
|
| 223 |
const loaderContainer = document.getElementById('loader-container');
|
| 224 |
loaderContainer.innerHTML = '';
|