Compare commits

..

2 commits

Author SHA1 Message Date
mrilyew
8d87ec678c
Merge 29860d7237 into 2aedc3e861 2024-12-05 20:38:56 +00:00
mrilyew
29860d7237 Stupid bugs fix 2024-12-05 23:38:49 +03:00
3 changed files with 8 additions and 0 deletions

View file

@ -205,6 +205,9 @@ window.player = new class {
if(!this.context.object) { if(!this.context.object) {
return return
} }
if(this.context.playedPages.indexOf(page) != -1) {
return
}
const form_data = new FormData const form_data = new FormData
switch(this.context.object.name) { switch(this.context.object.name) {

View file

@ -2362,6 +2362,7 @@ async function __processPaginatorNextPage(page)
if(window.player && window.player.isAtAudiosPage() && window.player.isAtCurrentContextPage()) { if(window.player && window.player.isAtAudiosPage() && window.player.isAtCurrentContextPage()) {
window.player.loadContext(page) window.player.loadContext(page)
window.player.__highlightActiveTrack()
} }
/*if(window.router) { /*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 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')) { if(page_header.hasClass('search_expanded_at_all')) {
u('.page_header').addClass('search_expanded_at_all').addClass('search_expanded') u('.page_header').addClass('search_expanded_at_all').addClass('search_expanded')
} else { } else {