diff --git a/index.html b/index.html
index 4fb95c0..18d8a13 100644
--- a/index.html
+++ b/index.html
@@ -1502,8 +1502,12 @@ playBtn.addEventListener('click', () => {
});
pauseBtn.addEventListener('click', () => {
if (currentIndex < 0) return;
- audio.pause();
- if (isCrossfading) audioNext.pause();
+ if (audio.paused) {
+ audio.play().catch(() => {});
+ } else {
+ audio.pause();
+ if (isCrossfading) audioNext.pause();
+ }
});
stopBtn.addEventListener('click', () => {
if (currentIndex < 0) return;