Spaces:
Runtime error
Runtime error
Update public/script.js
Browse files- public/script.js +0 -1
public/script.js
CHANGED
|
@@ -40,7 +40,6 @@ function playMusic(fileName) {
|
|
| 40 |
|
| 41 |
// Display the loader to indicate loading is in progress
|
| 42 |
const loaderElement = document.createElement('div');
|
| 43 |
-
loaderElement.textContent = 'Loading...'; // Text for simplicity, you could use a CSS-based loader as well
|
| 44 |
loaderElement.classList.add('loader');
|
| 45 |
const musicList = document.getElementById('music-list');
|
| 46 |
musicList.appendChild(loaderElement);
|
|
|
|
| 40 |
|
| 41 |
// Display the loader to indicate loading is in progress
|
| 42 |
const loaderElement = document.createElement('div');
|
|
|
|
| 43 |
loaderElement.classList.add('loader');
|
| 44 |
const musicList = document.getElementById('music-list');
|
| 45 |
musicList.appendChild(loaderElement);
|