Stupid bug fix

This commit is contained in:
mrilyew 2024-12-01 22:14:39 +03:00
parent 5cda3e58be
commit db5296eab7

View file

@ -765,7 +765,7 @@ u(document).on('click', '.audioEntry .playerButton > .playIcon', async (e) => {
'performer': name[0] 'performer': name[0]
}) })
}) })
} else if(window.player.isAtAudiosPage()) { } else if(!window.player.hasTrackWithId(id) && window.player.isAtAudiosPage()) {
window.player.__renewContext() window.player.__renewContext()
await window.player.loadContext(window.__current_page_audio_context.page ?? 1) await window.player.loadContext(window.__current_page_audio_context.page ?? 1)
if(!isNaN(parseInt(location.hash.replace('#', '')))) { if(!isNaN(parseInt(location.hash.replace('#', '')))) {