From e133788ba1f3aec86fe8ff3e19bae90bb4fe1182 Mon Sep 17 00:00:00 2001 From: Terry Geng Date: Tue, 9 Jun 2020 19:58:08 +0800 Subject: [PATCH] fix: playbar keeps extending when playlist is empty. --- static/js/custom.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/custom.js b/static/js/custom.js index 1c29fd6..710682d 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -989,6 +989,7 @@ function playerSetIdle(){ playerTitle.textContent = '-- IDLE --'; playerArtist.textContent = ''; setProgressBar(playerBar, 0); + clearInterval(playhead_timer); } function updatePlayerInfo(item){