mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
fix(audios): do not show ajax player if no track
This commit is contained in:
parent
7d450c18fd
commit
9ceeee9bd5
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ document.addEventListener("DOMContentLoaded", async () => {
|
|||
if(parsed) {
|
||||
await window.player.init(null)
|
||||
await window.player.loadDump(parsed)
|
||||
if(!window.player.isAtAudiosPage()) {
|
||||
if(!window.player.isAtAudiosPage() && parsed.current_track_id) {
|
||||
window.player.ajReveal()
|
||||
window.player.__updateFace()
|
||||
u(window.player.audioPlayer).trigger('timeupdate')
|
||||
|
|
Loading…
Reference in a new issue