Now Playing Fix
This commit is contained in:
parent
25d68e1dcb
commit
cae84f6966
|
|
@ -313,6 +313,11 @@
|
|||
setCurrentTrack(e.detail);
|
||||
});
|
||||
|
||||
// After client-side navigation, restore the reopen button if a queue is active.
|
||||
window.addEventListener('briTunes:navigate', () => {
|
||||
if (queue.length > 0) setReopenBtn(true);
|
||||
});
|
||||
|
||||
// Next / Repeat — delegate to actual player bar buttons.
|
||||
npPlayPauseBtn.addEventListener('click', () => {
|
||||
if (!audio) return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue