Skip to content

Commit

Permalink
Stupid bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrilyew committed Dec 1, 2024
1 parent 5cda3e5 commit db5296e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/static/js/al_music.js
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ u(document).on('click', '.audioEntry .playerButton > .playIcon', async (e) => {
'performer': name[0]
})
})
} else if(window.player.isAtAudiosPage()) {
} else if(!window.player.hasTrackWithId(id) && window.player.isAtAudiosPage()) {
window.player.__renewContext()
await window.player.loadContext(window.__current_page_audio_context.page ?? 1)
if(!isNaN(parseInt(location.hash.replace('#', '')))) {
Expand Down

0 comments on commit db5296e

Please sign in to comment.