diff --git a/index.html b/index.html index 4df0ca2..0a260da 100644 --- a/index.html +++ b/index.html @@ -1625,7 +1625,7 @@ pauseBtn.addEventListener('click', () => { } }); stopBtn.addEventListener('click', () => { - if (currentIndex < 0) return; + if (currentIndex < 0 && audio.paused) return; audio.pause(); if (isCrossfading) audioNext.pause(); audio.currentTime = 0;