mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Compare commits
2 commits
fe20c7f123
...
8d87ec678c
Author | SHA1 | Date | |
---|---|---|---|
|
8d87ec678c | ||
|
29860d7237 |
3 changed files with 8 additions and 0 deletions
|
@ -205,6 +205,9 @@ window.player = new class {
|
|||
if(!this.context.object) {
|
||||
return
|
||||
}
|
||||
if(this.context.playedPages.indexOf(page) != -1) {
|
||||
return
|
||||
}
|
||||
|
||||
const form_data = new FormData
|
||||
switch(this.context.object.name) {
|
||||
|
|
|
@ -2362,6 +2362,7 @@ async function __processPaginatorNextPage(page)
|
|||
|
||||
if(window.player && window.player.isAtAudiosPage() && window.player.isAtCurrentContextPage()) {
|
||||
window.player.loadContext(page)
|
||||
window.player.__highlightActiveTrack()
|
||||
}
|
||||
|
||||
/*if(window.router) {
|
||||
|
|
|
@ -91,6 +91,10 @@ window.router = new class {
|
|||
u('.page_header #search_box select').nodes[0].value = page_header.find('#search_box select').nodes[0].value
|
||||
}
|
||||
|
||||
if(u('.page_header #search_box input').length > 0 && page_header.find('#search_box input').length > 0) {
|
||||
u('.page_header #search_box input').nodes[0].value = page_header.find('#search_box input').nodes[0].value
|
||||
}
|
||||
|
||||
if(page_header.hasClass('search_expanded_at_all')) {
|
||||
u('.page_header').addClass('search_expanded_at_all').addClass('search_expanded')
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue