riddhiman commited on
Commit
1d0e024
·
verified ·
1 Parent(s): 03d04a3

Update public/script.js

Browse files
Files changed (1) hide show
  1. 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);