fix: playbar keeps extending when playlist is empty.

This commit is contained in:
Terry Geng 2020-06-09 19:58:08 +08:00
parent 22b9caa6dd
commit e133788ba1
No known key found for this signature in database
GPG Key ID: F982F8EA1DF720E7

View File

@ -989,6 +989,7 @@ function playerSetIdle(){
playerTitle.textContent = '-- IDLE --';
playerArtist.textContent = '';
setProgressBar(playerBar, 0);
clearInterval(playhead_timer);
}
function updatePlayerInfo(item){