From db5296eab74c023fd6cfd23134bc7ddd0886fddb Mon Sep 17 00:00:00 2001 From: mrilyew <99399973+mrilyew@users.noreply.github.com> Date: Sun, 1 Dec 2024 22:14:39 +0300 Subject: [PATCH] Stupid bug fix --- Web/static/js/al_music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/static/js/al_music.js b/Web/static/js/al_music.js index f5ba2361..d46df4f2 100644 --- a/Web/static/js/al_music.js +++ b/Web/static/js/al_music.js @@ -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('#', '')))) {