mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Stupid bug fix
This commit is contained in:
parent
5cda3e58be
commit
db5296eab7
1 changed files with 1 additions and 1 deletions
|
@ -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('#', '')))) {
|
||||||
|
|
Loading…
Reference in a new issue