Fix order for 1hitsong OCD

This commit is contained in:
Bill Thornton 2024-10-22 16:08:25 -04:00
parent 29309bc4b8
commit f2b8c5e489

View File

@ -891,11 +891,11 @@ export default function (view) {
.then(playlist => {
if (playlist && playlist.length > 1) {
const btnPreviousTrack = view.querySelector('.btnPreviousTrack');
const btnNextTrack = view.querySelector('.btnNextTrack');
btnPreviousTrack.classList.remove('hide');
btnPreviousTrack.disabled = false;
const btnNextTrack = view.querySelector('.btnNextTrack');
btnNextTrack.classList.remove('hide');
btnNextTrack.disabled = false;
btnPreviousTrack.disabled = false;
}
});
}