Stupid bugs fix

This commit is contained in:
mrilyew 2024-12-05 23:38:49 +03:00
parent 22d3e5e494
commit 29860d7237
3 changed files with 8 additions and 0 deletions

View file

@ -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) {

View file

@ -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) {

View file

@ -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 {